org.forester.phylogenyinference
Enum CharacterStateMatrix.BinaryStates
java.lang.Object
java.lang.Enum<CharacterStateMatrix.BinaryStates>
org.forester.phylogenyinference.CharacterStateMatrix.BinaryStates
- All Implemented Interfaces:
- Serializable, Comparable<CharacterStateMatrix.BinaryStates>
- Enclosing interface:
- CharacterStateMatrix<S>
public static enum CharacterStateMatrix.BinaryStates
- extends Enum<CharacterStateMatrix.BinaryStates>
It is crucial that the order
ABSENT, UNKNOWN, PRESENT not be changes since
this determines the sort order.
ABSENT
public static final CharacterStateMatrix.BinaryStates ABSENT
UNKNOWN
public static final CharacterStateMatrix.BinaryStates UNKNOWN
PRESENT
public static final CharacterStateMatrix.BinaryStates PRESENT
values
public static CharacterStateMatrix.BinaryStates[] 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 (CharacterStateMatrix.BinaryStates c : CharacterStateMatrix.BinaryStates.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static CharacterStateMatrix.BinaryStates valueOf(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:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
toChar
public char toChar()
toString
public String toString()
- Overrides:
toString
in class Enum<CharacterStateMatrix.BinaryStates>