public enum PressureUnit extends Enum<PressureUnit>
| Enum Constant and Description |
|---|
IN
Pounds per square inch.
|
MB
Millibars.
|
| 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 IN
public static final PressureUnit MB
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 © 2016. All rights reserved.