public enum SpecificationMode extends java.lang.Enum<SpecificationMode>
Enum Constant and Description |
---|
ABSOLUTE |
FRACTIONAL |
MM |
SCALED |
Modifier and Type | Method and Description |
---|---|
static SpecificationMode |
getMode(int mode) |
static int |
value(SpecificationMode mode) |
static SpecificationMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SpecificationMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SpecificationMode SCALED
public static final SpecificationMode ABSOLUTE
public static final SpecificationMode FRACTIONAL
public static final SpecificationMode MM
public static SpecificationMode[] values()
for (SpecificationMode c : SpecificationMode.values()) System.out.println(c);
public static SpecificationMode 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 static SpecificationMode getMode(int mode)
public static int value(SpecificationMode mode)