public enum StopType extends Enum<StopType> implements Enumeration
StoppingCondition.| Enum Constant and Description | 
|---|
ANY_EXTREMA
Any extrema. 
 | 
ANY_THRESHOLD
Any threshold. 
 | 
LOCAL_MAXIMUM
A maximum. 
 | 
LOCAL_MINIMUM
A minimum. 
 | 
THRESHOLD_DECREASING
A threshold that is decreasing. 
 | 
THRESHOLD_INCREASING
A threshold that is increasing. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static StopType | 
getDefault()
Get the enum constant that is considered to be the default. 
 | 
static StopType | 
getFromValue(int value)
Get the enum constant that is associated with the given numeric value. 
 | 
int | 
getValue()
Get the numeric value associated with this enum constant. 
 | 
static StopType | 
valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static StopType[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final StopType ANY_THRESHOLD
public static final StopType THRESHOLD_INCREASING
public static final StopType THRESHOLD_DECREASING
public static final StopType ANY_EXTREMA
public static final StopType LOCAL_MINIMUM
public static final StopType LOCAL_MAXIMUM
public static StopType[] values()
for (StopType c : StopType.values()) System.out.println(c);
public static StopType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic int getValue()
getValue in interface Enumeration@Nonnull public static StopType getFromValue(int value)
value - a numeric value.