public enum UnitsPressure extends Enum<UnitsPressure> implements Enumeration
Enum Constant and Description |
---|
APA |
ATM |
BAR |
CBAR |
CPA |
DAPA |
DBAR |
DPA |
EXAPA |
FPA |
GIGAPA |
HPA |
KBAR |
KPA |
MBAR |
MEGABAR |
MEGAPA |
MICROPA |
MMHG |
MPA |
MTORR |
NPA |
PA |
PETAPA |
PPA |
PSI |
TERAPA |
TORR |
YOTTAPA |
YPA |
ZETTAPA |
ZPA |
Modifier and Type | Method and Description |
---|---|
static <T extends Number> |
create(T newValue,
UnitsPressure newUnit) |
static <T extends PrimitiveNumber> |
create(T newValue,
UnitsPressure newUnit) |
static UnitsPressure |
fromString(String value) |
String |
getValue() |
String |
toString() |
static UnitsPressure |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UnitsPressure[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UnitsPressure YOTTAPA
public static final UnitsPressure ZETTAPA
public static final UnitsPressure EXAPA
public static final UnitsPressure PETAPA
public static final UnitsPressure TERAPA
public static final UnitsPressure GIGAPA
public static final UnitsPressure MEGAPA
public static final UnitsPressure KPA
public static final UnitsPressure HPA
public static final UnitsPressure DAPA
public static final UnitsPressure PA
public static final UnitsPressure DPA
public static final UnitsPressure CPA
public static final UnitsPressure MPA
public static final UnitsPressure MICROPA
public static final UnitsPressure NPA
public static final UnitsPressure PPA
public static final UnitsPressure FPA
public static final UnitsPressure APA
public static final UnitsPressure ZPA
public static final UnitsPressure YPA
public static final UnitsPressure BAR
public static final UnitsPressure MEGABAR
public static final UnitsPressure KBAR
public static final UnitsPressure DBAR
public static final UnitsPressure CBAR
public static final UnitsPressure MBAR
public static final UnitsPressure ATM
public static final UnitsPressure PSI
public static final UnitsPressure TORR
public static final UnitsPressure MTORR
public static final UnitsPressure MMHG
private final String value
public static UnitsPressure[] values()
for (UnitsPressure c : UnitsPressure.values()) System.out.println(c);
public static UnitsPressure 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 static UnitsPressure fromString(String value) throws EnumerationException
EnumerationException
public String getValue()
public String toString()
toString
in class Enum<UnitsPressure>
public static <T extends PrimitiveNumber> Pressure create(T newValue, UnitsPressure newUnit)
public static <T extends Number> Pressure create(T newValue, UnitsPressure newUnit)
Copyright © 2016 Open Microscopy Environment