org.askalon.graph.chart.base
Enum Constants.Probability
java.lang.Object
java.lang.Enum<Constants.Probability>
org.askalon.graph.chart.base.Constants.Probability
- All Implemented Interfaces:
- Serializable, Comparable<Constants.Probability>
- Enclosing interface:
- Constants
public static enum Constants.Probability
- extends Enum<Constants.Probability>
Probability to remove an item (e.g. used by testers/demos)
ZERO
public static final Constants.Probability ZERO
VERY_LOW
public static final Constants.Probability VERY_LOW
LOW
public static final Constants.Probability LOW
MEDIUM
public static final Constants.Probability MEDIUM
HIGH
public static final Constants.Probability HIGH
values
public static final Constants.Probability[] 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(Constants.Probability c : Constants.Probability.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static Constants.Probability 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
getValue
public int getValue()
toString
public String toString()
- Overrides:
toString
in class Enum<Constants.Probability>