Enum ErrorManager.Reason
- java.lang.Object
-
- java.lang.Enum<ErrorManager.Reason>
-
- bio.singa.simulation.model.simulation.error.ErrorManager.Reason
-
- All Implemented Interfaces:
Serializable,Comparable<ErrorManager.Reason>
- Enclosing class:
- ErrorManager
public static enum ErrorManager.Reason extends Enum<ErrorManager.Reason>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description GLOBAL_DEVIATIONGLOBAL_ERRORINCREASELOCAL_DEVIATIONLOCAL_ERRORNEGATIVE_CONCENTRATIONS
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ErrorManager.ReasonvalueOf(String name)Returns the enum constant of this type with the specified name.static ErrorManager.Reason[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LOCAL_ERROR
public static final ErrorManager.Reason LOCAL_ERROR
-
NEGATIVE_CONCENTRATIONS
public static final ErrorManager.Reason NEGATIVE_CONCENTRATIONS
-
GLOBAL_ERROR
public static final ErrorManager.Reason GLOBAL_ERROR
-
LOCAL_DEVIATION
public static final ErrorManager.Reason LOCAL_DEVIATION
-
GLOBAL_DEVIATION
public static final ErrorManager.Reason GLOBAL_DEVIATION
-
INCREASE
public static final ErrorManager.Reason INCREASE
-
-
Method Detail
-
values
public static ErrorManager.Reason[] 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 (ErrorManager.Reason c : ErrorManager.Reason.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ErrorManager.Reason 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 nameNullPointerException- if the argument is null
-
-