public static enum Pressure.Unit extends Enum<Pressure.Unit>
| Enum Constant and Description | 
|---|
ATM
Standard atmosphere [atm] 
 | 
BAR
Metric unit of pressure [bar] 
 | 
KPA
Kilo newton per square metre [kPa] 
 | 
PA
Newton per square metre (Pascal) [Pa] SI unit 
 | 
PSI
Pounds per square inch [lbf/in²] imperial unit 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static Pressure.Unit | 
valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static Pressure.Unit[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final Pressure.Unit PA
public static final Pressure.Unit KPA
public static final Pressure.Unit BAR
public static final Pressure.Unit ATM
public static final Pressure.Unit PSI
public static Pressure.Unit[] values()
for (Pressure.Unit c : Pressure.Unit.values()) System.out.println(c);
public static Pressure.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.