jus.util.dag
Enum Dag.Relation
java.lang.Object
java.lang.Enum<Dag.Relation>
jus.util.dag.Dag.Relation
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<Dag.Relation>
- Enclosing class:
- Dag<T>
public static enum Dag.Relation
- extends java.lang.Enum<Dag.Relation>
Method Summary |
static Dag.Relation |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Dag.Relation[] |
values()
Returns an array containing the constants of this enum type, in
the order they're declared. |
Methods inherited from class java.lang.Enum |
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
SUBTREE
public static final Dag.Relation SUBTREE
SUPERTREE
public static final Dag.Relation SUPERTREE
values
public static final Dag.Relation[] values()
- Returns an array containing the constants of this enum type, in
the order they're declared. This method may be used to iterate
over the constants as follows:
for(Dag.Relation c : Dag.Relation.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static Dag.Relation valueOf(java.lang.String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name