java.io.Serializable
, java.lang.Comparable<ReRootedTree.RootingType>
public static enum ReRootedTree.RootingType extends java.lang.Enum<ReRootedTree.RootingType>
Enum Constant | Description |
---|---|
LEAST_SQUARES |
|
MID_POINT |
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
toString() |
|
static ReRootedTree.RootingType |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static ReRootedTree.RootingType[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReRootedTree.RootingType MID_POINT
public static final ReRootedTree.RootingType LEAST_SQUARES
public static ReRootedTree.RootingType[] values()
for (ReRootedTree.RootingType c : ReRootedTree.RootingType.values()) System.out.println(c);
public static ReRootedTree.RootingType 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 java.lang.String toString()
toString
in class java.lang.Enum<ReRootedTree.RootingType>
http://code.google.com/p/jebl2/