com.brianfromoregon
Enum ScenarioResultChange.Type
java.lang.Object
java.lang.Enum<ScenarioResultChange.Type>
com.brianfromoregon.ScenarioResultChange.Type
- All Implemented Interfaces:
- Serializable, Comparable<ScenarioResultChange.Type>
- Enclosing class:
- ScenarioResultChange
public static enum ScenarioResultChange.Type
- extends Enum<ScenarioResultChange.Type>
BETTER
public static final ScenarioResultChange.Type BETTER
WORSE
public static final ScenarioResultChange.Type WORSE
SAME
public static final ScenarioResultChange.Type SAME
NEW_RESULT
public static final ScenarioResultChange.Type NEW_RESULT
NO_RESULT
public static final ScenarioResultChange.Type NO_RESULT
values
public static ScenarioResultChange.Type[] 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 (ScenarioResultChange.Type c : ScenarioResultChange.Type.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static ScenarioResultChange.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
NullPointerException - if the argument is null
Copyright © 2004-2012. All Rights Reserved.