public static enum UnitSet.UnitSystem extends java.lang.Enum<UnitSet.UnitSystem>
Enum Constant and Description |
---|
CGS
Constant used to indicate that the coherent metric (cm-gram-sec) units should be used.
|
CUSTOM
Constant used to indicate that a custom set of units is being used which
may or may not be coherent.
|
SI_MKS
Constant used to indicate that the coherent SI units should be used.
|
US_FPS
Constant used to indicate that coherent US Customary units (ft-lbm-sec) should be
used.
|
US_FSS
Constant used to indicate that coherent US Customary units (ft-slug-sec) should be
used.
|
Modifier and Type | Method and Description |
---|---|
static UnitSet.UnitSystem |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static UnitSet.UnitSystem[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UnitSet.UnitSystem SI_MKS
public static final UnitSet.UnitSystem CGS
public static final UnitSet.UnitSystem US_FSS
public static final UnitSet.UnitSystem US_FPS
public static final UnitSet.UnitSystem CUSTOM
public static UnitSet.UnitSystem[] values()
for (UnitSet.UnitSystem c : UnitSet.UnitSystem.values()) System.out.println(c);
public static UnitSet.UnitSystem 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