se.liu.ida.critiquer.constraints
Enum TimeParameterOrdering.Type
java.lang.Object
java.lang.Enum<TimeParameterOrdering.Type>
se.liu.ida.critiquer.constraints.TimeParameterOrdering.Type
- All Implemented Interfaces:
- Serializable, Comparable<TimeParameterOrdering.Type>
- Enclosing class:
- TimeParameterOrdering
public static enum TimeParameterOrdering.Type
- extends Enum<TimeParameterOrdering.Type>
END_TO_START
public static final TimeParameterOrdering.Type END_TO_START
START_TO_START
public static final TimeParameterOrdering.Type START_TO_START
START_TO_END
public static final TimeParameterOrdering.Type START_TO_END
END_TO_END
public static final TimeParameterOrdering.Type END_TO_END
values
public static final TimeParameterOrdering.Type[] values()
- Returns an array containing the constants of this enum type, in
the order they're declared. This method may be used to iterate
over the constants as follows:
for(TimeParameterOrdering.Type c : TimeParameterOrdering.Type.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static TimeParameterOrdering.Type 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
toString
public String toString()
- Overrides:
toString
in class Enum<TimeParameterOrdering.Type>
- Returns:
- Returns the name.