Package nom.tam.fits.header
Enum IFitsHeader.VALUE
- All Implemented Interfaces:
Serializable
,Comparable<IFitsHeader.VALUE>
,java.lang.constant.Constable
- Enclosing interface:
- IFitsHeader
Values types to which implementing keywords can be restricted to.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe keyword may be used with any value typekeyword expects a complex valuekeyword expects an integer type valuekeyword expects a logical 'T' or 'F' valueThe keyword takes no value (i.e.keyword expects a floating-point value (integers allowed).keyword expects a String value -
Method Summary
Modifier and TypeMethodDescriptionstatic IFitsHeader.VALUE
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.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
NONE
The keyword takes no value (i.e. END or comment-style keywords -
LOGICAL
keyword expects a logical 'T' or 'F' value -
STRING
keyword expects a String value -
INTEGER
keyword expects an integer type value -
REAL
keyword expects a floating-point value (integers allowed). -
COMPLEX
keyword expects a complex value -
ANY
The keyword may be used with any value type
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-