Enum Units

    • Enum Constant Detail

      • VEH_KM

        public static final Units VEH_KM
      • VEH_METER

        public static final Units VEH_METER
      • NONE

        public static final Units NONE
      • VEH_HOUR

        public static final Units VEH_HOUR
      • VEH_SECOND

        public static final Units VEH_SECOND
      • VEH_MINUTE

        public static final Units VEH_MINUTE
      • KM_HOUR

        public static final Units KM_HOUR
      • KM_MINUTE

        public static final Units KM_MINUTE
      • KM_SECOND

        public static final Units KM_SECOND
      • METER_SECOND

        public static final Units METER_SECOND
      • METER_MINUTE

        public static final Units METER_MINUTE
      • METER_HOUR

        public static final Units METER_HOUR
      • HOUR

        public static final Units HOUR
      • MINUTE

        public static final Units MINUTE
      • SECOND

        public static final Units SECOND
      • KM

        public static final Units KM
      • METER

        public static final Units METER
      • SRS

        public static final Units SRS
    • Method Detail

      • values

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

        public static Units 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
      • value

        public String value()