edu.mit.ll.group43.surfaceoptimization.dp
Enum DPAlgorithmType
java.lang.Object
java.lang.Enum<DPAlgorithmType>
edu.mit.ll.group43.surfaceoptimization.dp.DPAlgorithmType
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<DPAlgorithmType>
public enum DPAlgorithmType
- extends java.lang.Enum<DPAlgorithmType>
Enum for all types of DP sequencing algorithms.
- Author:
- William Hawkins
Method Summary |
static DPAlgorithmType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static DPAlgorithmType[] |
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, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
SS
public static final DPAlgorithmType SS
OG
public static final DPAlgorithmType OG
AG
public static final DPAlgorithmType AG
OGF
public static final DPAlgorithmType OGF
AGOGF
public static final DPAlgorithmType AGOGF
AGF
public static final DPAlgorithmType AGF
LAGF
public static final DPAlgorithmType LAGF
values
public static DPAlgorithmType[] 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 (DPAlgorithmType c : DPAlgorithmType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static DPAlgorithmType 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