Enum IFitsHeader.VALUE

java.lang.Object
java.lang.Enum<IFitsHeader.VALUE>
nom.tam.fits.header.IFitsHeader.VALUE
All Implemented Interfaces:
Serializable, Comparable<IFitsHeader.VALUE>, java.lang.constant.Constable
Enclosing interface:
IFitsHeader

public static enum IFitsHeader.VALUE extends Enum<IFitsHeader.VALUE>
Values types to which implementing keywords can be restricted to.
  • Enum Constant Details

    • NONE

      public static final IFitsHeader.VALUE NONE
      The keyword takes no value (i.e. END or comment-style keywords
    • LOGICAL

      public static final IFitsHeader.VALUE LOGICAL
      keyword expects a logical 'T' or 'F' value
    • STRING

      public static final IFitsHeader.VALUE STRING
      keyword expects a String value
    • INTEGER

      public static final IFitsHeader.VALUE INTEGER
      keyword expects an integer type value
    • REAL

      public static final IFitsHeader.VALUE REAL
      keyword expects a floating-point value (integers allowed).
    • COMPLEX

      public static final IFitsHeader.VALUE COMPLEX
      keyword expects a complex value
    • ANY

      public static final IFitsHeader.VALUE ANY
      The keyword may be used with any value type
  • Method Details

    • values

      public static IFitsHeader.VALUE[] 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

      public static IFitsHeader.VALUE valueOf(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:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null