public static enum Traverser.Direction extends java.lang.Enum<Traverser.Direction>
Modifier and Type | Method and Description |
---|---|
static Traverser.Direction |
fromString(java.lang.String string) |
java.lang.String |
toString() |
static Traverser.Direction |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Traverser.Direction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Traverser.Direction ASC
public static final Traverser.Direction DESC
public static Traverser.Direction[] values()
for (Traverser.Direction c : Traverser.Direction.values()) System.out.println(c);
public static Traverser.Direction 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 Traverser.Direction fromString(java.lang.String string)
public java.lang.String toString()
toString
in class java.lang.Enum<Traverser.Direction>