public enum VelocityUnits extends Enum<VelocityUnits>
Java class for velocityUnits.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="velocityUnits">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="meterspersecond"/>
<enumeration value="kph"/>
<enumeration value="mph"/>
<enumeration value="fps"/>
<enumeration value="knots"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
FPS |
KNOTS |
KPH |
METERSPERSECOND |
MPH |
| Modifier and Type | Method and Description |
|---|---|
static VelocityUnits |
fromValue(String v) |
String |
value() |
static VelocityUnits |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VelocityUnits[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VelocityUnits METERSPERSECOND
public static final VelocityUnits KPH
public static final VelocityUnits MPH
public static final VelocityUnits FPS
public static final VelocityUnits KNOTS
public static VelocityUnits[] values()
for (VelocityUnits c : VelocityUnits.values()) System.out.println(c);
public static VelocityUnits valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String value()
public static VelocityUnits fromValue(String v)