public enum PressureUnit extends Enum<PressureUnit>
Modifier and Type | Field and Description |
---|---|
int |
value |
Modifier and Type | Method and Description |
---|---|
static PressureUnit |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PressureUnit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PressureUnit DEFAULT
public static final PressureUnit KPA
public static final PressureUnit PSI
public static final PressureUnit BAR
public static final PressureUnit ATM
public static final PressureUnit TORR
public static PressureUnit[] values()
for (PressureUnit c : PressureUnit.values()) System.out.println(c);
public static PressureUnit 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 © 2022. All rights reserved.