Package nom.tam.fits.header
Enum IFitsHeader.VALUE
- java.lang.Object
-
- java.lang.Enum<IFitsHeader.VALUE>
-
- nom.tam.fits.header.IFitsHeader.VALUE
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<IFitsHeader.VALUE>
- Enclosing interface:
- IFitsHeader
public static enum IFitsHeader.VALUE extends java.lang.Enum<IFitsHeader.VALUE>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IFitsHeader.VALUE
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static IFitsHeader.VALUE[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INTEGER
public static final IFitsHeader.VALUE INTEGER
-
LOGICAL
public static final IFitsHeader.VALUE LOGICAL
-
NONE
public static final IFitsHeader.VALUE NONE
-
REAL
public static final IFitsHeader.VALUE REAL
-
STRING
public static final IFitsHeader.VALUE STRING
-
ANY
public static final IFitsHeader.VALUE ANY
-
-
Method Detail
-
values
public static IFitsHeader.VALUE[] 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.VALUE c : IFitsHeader.VALUE.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.VALUE 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
-
-