Enum Constant and Description |
---|
HIGH |
HUGE |
LOW |
MIDHIGH |
MIDLOW |
VERYHIGH |
VERYLOW |
Modifier and Type | Method and Description |
---|---|
double |
getValue() |
static Tolerance |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Tolerance[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Tolerance VERYLOW
public static final Tolerance LOW
public static final Tolerance MIDLOW
public static final Tolerance MIDHIGH
public static final Tolerance HIGH
public static final Tolerance VERYHIGH
public static final Tolerance HUGE
public static Tolerance[] values()
for (Tolerance c : Tolerance.values()) System.out.println(c);
public static Tolerance valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is nullpublic double getValue()