public enum BehaviorBeyondAvailability extends Enum<BehaviorBeyondAvailability> implements Enumeration
| Enum Constant and Description |
|---|
EXTRAPOLATE
Extrapolates values when evaluated beyond the object's availability.
|
RETURN_ENDPOINT_VALUE
Returns the closest endpoint value when evaluated beyond the object's availability.
|
THROW_EXCEPTION
Throws an exception when evaluated beyond the object's availability.
|
| Modifier and Type | Method and Description |
|---|---|
static BehaviorBeyondAvailability |
getDefault()
Get the enum constant that is considered to be the default.
|
static BehaviorBeyondAvailability |
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 BehaviorBeyondAvailability |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BehaviorBeyondAvailability[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BehaviorBeyondAvailability THROW_EXCEPTION
public static final BehaviorBeyondAvailability RETURN_ENDPOINT_VALUE
public static final BehaviorBeyondAvailability EXTRAPOLATE
public static BehaviorBeyondAvailability[] values()
for (BehaviorBeyondAvailability c : BehaviorBeyondAvailability.values()) System.out.println(c);
public static BehaviorBeyondAvailability 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 BehaviorBeyondAvailability getFromValue(int value)
value - a numeric value.@Nonnull public static BehaviorBeyondAvailability getDefault()