jebl.evolution.trees
Enum ReRootedTree.RootingType

java.lang.Object
  extended by java.lang.Enum<ReRootedTree.RootingType>
      extended by 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>


Enum Constant Summary
LEAST_SQUARES
           
MID_POINT
           
 
Method Summary
 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.
 
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
 

Enum Constant Detail

MID_POINT

public static final ReRootedTree.RootingType MID_POINT

LEAST_SQUARES

public static final ReRootedTree.RootingType LEAST_SQUARES
Method Detail

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/