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