public static enum Convert.Unit extends java.lang.Enum<Convert.Unit>
Enum Constant and Description |
---|
GKLAY |
GPEB |
KKLAY |
KLAY |
KPEB |
mKLAY |
MKLAY |
MPEB |
PEB |
STON |
uKLAY |
Modifier and Type | Method and Description |
---|---|
static Convert.Unit |
fromString(java.lang.String name) |
java.math.BigDecimal |
getpebFactor() |
java.lang.String |
toString() |
static Convert.Unit |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Convert.Unit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Convert.Unit PEB
public static final Convert.Unit KPEB
public static final Convert.Unit MPEB
public static final Convert.Unit GPEB
public static final Convert.Unit STON
public static final Convert.Unit uKLAY
public static final Convert.Unit mKLAY
public static final Convert.Unit KLAY
public static final Convert.Unit KKLAY
public static final Convert.Unit MKLAY
public static final Convert.Unit GKLAY
public static Convert.Unit[] values()
for (Convert.Unit c : Convert.Unit.values()) System.out.println(c);
public static Convert.Unit 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.math.BigDecimal getpebFactor()
public java.lang.String toString()
toString
in class java.lang.Enum<Convert.Unit>
public static Convert.Unit fromString(java.lang.String name)