public static enum UnitUtil.UnitPrefix extends java.lang.Enum<UnitUtil.UnitPrefix>
Enum Constant and Description |
---|
GIGA |
KILO |
MEGA |
MICRO |
MILLI |
NANO |
NONE |
PICO |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString() |
static UnitUtil.UnitPrefix |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static UnitUtil.UnitPrefix[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UnitUtil.UnitPrefix GIGA
public static final UnitUtil.UnitPrefix MEGA
public static final UnitUtil.UnitPrefix KILO
public static final UnitUtil.UnitPrefix NONE
public static final UnitUtil.UnitPrefix MILLI
public static final UnitUtil.UnitPrefix MICRO
public static final UnitUtil.UnitPrefix NANO
public static final UnitUtil.UnitPrefix PICO
public static UnitUtil.UnitPrefix[] values()
for (UnitUtil.UnitPrefix c : UnitUtil.UnitPrefix.values()) System.out.println(c);
public static UnitUtil.UnitPrefix valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String toString()
toString
in class java.lang.Enum<UnitUtil.UnitPrefix>