public enum EnumerationDirection extends Enum<EnumerationDirection>
| Enum Constant and Description |
|---|
Forward
Use forward direction
|
Reverse
Use reverse direction
|
| Modifier and Type | Method and Description |
|---|---|
static EnumerationDirection |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EnumerationDirection[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EnumerationDirection Forward
public static final EnumerationDirection Reverse
public static EnumerationDirection[] values()
for (EnumerationDirection c : EnumerationDirection.values()) System.out.println(c);
public static EnumerationDirection 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 © 2020. All rights reserved.