org.askalon.graph.chart.base
Enum Constants.Probability

java.lang.Object
  extended by java.lang.Enum<Constants.Probability>
      extended by 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)


Enum Constant Summary
HIGH
           
LOW
           
MEDIUM
           
VERY_LOW
           
ZERO
           
 
Method Summary
 int getValue()
           
 String toString()
           
static Constants.Probability valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Constants.Probability[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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
Method Detail

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>


Part of:
Askalon_Logo
ASKALON Visualisation Diagrams