Enum AttributeUnit

    • Enum Constant Detail

      • UNKNOWN

        public static final AttributeUnit UNKNOWN
        Unknown.
        Since:
        100.0.0
      • FEET

        public static final AttributeUnit FEET
        Feet.
        Since:
        100.0.0
      • MILES

        public static final AttributeUnit MILES
        Miles.
        Since:
        100.0.0
      • METERS

        public static final AttributeUnit METERS
        Meters.
        Since:
        100.0.0
      • KILOMETERS

        public static final AttributeUnit KILOMETERS
        Kilometers.
        Since:
        100.0.0
      • NAUTICAL_MILES

        public static final AttributeUnit NAUTICAL_MILES
        Nautical Miles.
        Since:
        100.0.0
      • DECIMAL_DEGREES

        public static final AttributeUnit DECIMAL_DEGREES
        Decimal Degrees.
        Since:
        100.0.0
      • MINUTES

        public static final AttributeUnit MINUTES
        Minutes.
        Since:
        100.0.0
      • HOURS

        public static final AttributeUnit HOURS
        Hours.
        Since:
        100.0.0
    • Method Detail

      • values

        public static AttributeUnit[] 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 (AttributeUnit c : AttributeUnit.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static AttributeUnit 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