public enum BehaviorWhenOnThreshold extends Enum<BehaviorWhenOnThreshold> implements Enumeration
JulianDateFunctionExplorer
when a function value exactly equals a threshold value.Enum Constant and Description |
---|
TREAT_AS_ABOVE
Indicates that a function value that is exactly equal to the threshold is
treated as being ABOVE the threshold.
|
TREAT_AS_BELOW
Indicates that a function value that is exactly equal to the threshold is
threated as being BELOW the threshold.
|
Modifier and Type | Method and Description |
---|---|
static BehaviorWhenOnThreshold |
getDefault()
Get the enum constant that is considered to be the default.
|
static BehaviorWhenOnThreshold |
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 BehaviorWhenOnThreshold |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BehaviorWhenOnThreshold[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BehaviorWhenOnThreshold TREAT_AS_ABOVE
public static final BehaviorWhenOnThreshold TREAT_AS_BELOW
public static BehaviorWhenOnThreshold[] values()
for (BehaviorWhenOnThreshold c : BehaviorWhenOnThreshold.values()) System.out.println(c);
public static BehaviorWhenOnThreshold 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 BehaviorWhenOnThreshold getFromValue(int value)
value
- a numeric value.@Nonnull public static BehaviorWhenOnThreshold getDefault()