public enum Adjustment extends Enum<Adjustment>
Enum Constant and Description |
---|
DOWN
Requires downward adjustment.
|
NONE
Forbids any adjustment.
|
UP
Requires upward adjustment.
|
Modifier and Type | Method and Description |
---|---|
static Adjustment |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Adjustment[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Adjustment DOWN
public static final Adjustment UP
public static final Adjustment NONE
public static Adjustment[] values()
for (Adjustment c : Adjustment.values()) System.out.println(c);
public static Adjustment 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 © 2017. All rights reserved.