jebl.evolution.trees
Enum ReRootedTree.RootingType
java.lang.Object
java.lang.Enum<ReRootedTree.RootingType>
jebl.evolution.trees.ReRootedTree.RootingType
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<ReRootedTree.RootingType>
- Enclosing class:
- ReRootedTree
public static enum ReRootedTree.RootingType
- extends java.lang.Enum<ReRootedTree.RootingType>
Methods inherited from class java.lang.Enum |
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
MID_POINT
public static final ReRootedTree.RootingType MID_POINT
LEAST_SQUARES
public static final ReRootedTree.RootingType LEAST_SQUARES
values
public static ReRootedTree.RootingType[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (ReRootedTree.RootingType c : ReRootedTree.RootingType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static ReRootedTree.RootingType 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
java.lang.NullPointerException
- if the argument is null
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Enum<ReRootedTree.RootingType>
http://code.google.com/p/jebl2/