public static enum UnitConverter.FORMAT extends java.lang.Enum<UnitConverter.FORMAT>
Enum Constant and Description |
---|
DEGREE |
FEET |
GRADE |
METER |
RADIAN |
SLOPE |
Modifier and Type | Method and Description |
---|---|
static UnitConverter.FORMAT |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static UnitConverter.FORMAT[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UnitConverter.FORMAT FEET
public static final UnitConverter.FORMAT METER
public static final UnitConverter.FORMAT SLOPE
public static final UnitConverter.FORMAT RADIAN
public static final UnitConverter.FORMAT GRADE
public static final UnitConverter.FORMAT DEGREE
public static UnitConverter.FORMAT[] values()
for (UnitConverter.FORMAT c : UnitConverter.FORMAT.values()) System.out.println(c);
public static UnitConverter.FORMAT 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 null