Enum UnitEnum

    • Enum Constant Detail

      • NANOSECOND

        public static final UnitEnum NANOSECOND
      • MICROSECOND

        public static final UnitEnum MICROSECOND
      • MILLISECOND

        public static final UnitEnum MILLISECOND
      • SECOND

        public static final UnitEnum SECOND
      • MINUTE

        public static final UnitEnum MINUTE
      • HOUR

        public static final UnitEnum HOUR
      • BYTE

        public static final UnitEnum BYTE
      • KILOBYTE

        public static final UnitEnum KILOBYTE
      • KIBIBYTE

        public static final UnitEnum KIBIBYTE
      • MEGABYTE

        public static final UnitEnum MEGABYTE
      • MEBIBYTE

        public static final UnitEnum MEBIBYTE
      • GIGABYTE

        public static final UnitEnum GIGABYTE
      • GIBIBYTE

        public static final UnitEnum GIBIBYTE
      • BYTEPERSECOND

        public static final UnitEnum BYTEPERSECOND
      • BYTEPERMINUTE

        public static final UnitEnum BYTEPERMINUTE
      • BITPERSECOND

        public static final UnitEnum BITPERSECOND
      • BITPERMINUTE

        public static final UnitEnum BITPERMINUTE
      • KILOBYTEPERSECOND

        public static final UnitEnum KILOBYTEPERSECOND
      • KILOBYTEPERMINUTE

        public static final UnitEnum KILOBYTEPERMINUTE
      • KIBIBYTEPERSECOND

        public static final UnitEnum KIBIBYTEPERSECOND
      • KIBIBYTEPERMINUTE

        public static final UnitEnum KIBIBYTEPERMINUTE
      • MEGABYTEPERSECOND

        public static final UnitEnum MEGABYTEPERSECOND
      • MEGABYTEPERMINUTE

        public static final UnitEnum MEGABYTEPERMINUTE
      • MEBIBYTEPERSECOND

        public static final UnitEnum MEBIBYTEPERSECOND
      • MEBIBYTEPERMINUTE

        public static final UnitEnum MEBIBYTEPERMINUTE
      • RATIO

        public static final UnitEnum RATIO
      • PERCENT

        public static final UnitEnum PERCENT
      • PROMILLE

        public static final UnitEnum PROMILLE
      • COUNT

        public static final UnitEnum COUNT
      • PERSECOND

        public static final UnitEnum PERSECOND
      • PERMINUTE

        public static final UnitEnum PERMINUTE
      • STATE

        public static final UnitEnum STATE
      • UNSPECIFIED

        public static final UnitEnum UNSPECIFIED
      • NOTAPPLICABLE

        public static final UnitEnum NOTAPPLICABLE
    • Method Detail

      • values

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

        public static UnitEnum 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
      • getValue

        public String getValue()