Package nom.tam.fits.header
Enum IFitsHeader.HDU
- java.lang.Object
-
- java.lang.Enum<IFitsHeader.HDU>
-
- nom.tam.fits.header.IFitsHeader.HDU
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<IFitsHeader.HDU>
- Enclosing interface:
- IFitsHeader
public static enum IFitsHeader.HDU extends java.lang.Enum<IFitsHeader.HDU>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ANY
ASCII_TABLE
BINTABLE
EXTENSION
GROUPS
IMAGE
PRIMARY
PRIMARY_EXTENSION
TABLE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IFitsHeader.HDU
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static IFitsHeader.HDU[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ANY
public static final IFitsHeader.HDU ANY
-
ASCII_TABLE
public static final IFitsHeader.HDU ASCII_TABLE
-
BINTABLE
public static final IFitsHeader.HDU BINTABLE
-
EXTENSION
public static final IFitsHeader.HDU EXTENSION
-
GROUPS
public static final IFitsHeader.HDU GROUPS
-
IMAGE
public static final IFitsHeader.HDU IMAGE
-
PRIMARY
public static final IFitsHeader.HDU PRIMARY
-
PRIMARY_EXTENSION
public static final IFitsHeader.HDU PRIMARY_EXTENSION
-
TABLE
public static final IFitsHeader.HDU TABLE
-
-
Method Detail
-
values
public static IFitsHeader.HDU[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (IFitsHeader.HDU c : IFitsHeader.HDU.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static IFitsHeader.HDU valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-