public static enum Speed.Unit extends Enum<Speed.Unit>
Enum Constant and Description |
---|
IN_S
Inches per second [in/s] imperial unit
|
M_S
Meters per second [m/s] SI unit
|
MM_S
Millimeters per second [mm/s]
|
Modifier and Type | Method and Description |
---|---|
static Speed.Unit |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Speed.Unit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Speed.Unit M_S
public static final Speed.Unit MM_S
public static final Speed.Unit IN_S
public static Speed.Unit[] values()
for (Speed.Unit c : Speed.Unit.values()) System.out.println(c);
public static Speed.Unit 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 nullCopyright © 2018. All rights reserved.