public static enum AngularSpeed.Unit extends Enum<AngularSpeed.Unit>
Enum Constant and Description |
---|
DEG_S
Degrees per second [°/s]
|
RAD_S
Radians per second [rad/s] SI unit
|
Modifier and Type | Method and Description |
---|---|
static AngularSpeed.Unit |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AngularSpeed.Unit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AngularSpeed.Unit RAD_S
public static final AngularSpeed.Unit DEG_S
public static AngularSpeed.Unit[] values()
for (AngularSpeed.Unit c : AngularSpeed.Unit.values()) System.out.println(c);
public static AngularSpeed.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.