T - the type of numerical value this constraint checkspublic class NumberConstraint<T extends java.lang.Number> extends ValuedConstraint<T,T>
NUMERICAL_LOWER_BOUND and NUMERICAL_UPPER_BOUND constraint types.| Constructor and Description |
|---|
NumberConstraint(ConstraintType type,
T value) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
test(T value)
Tests a value against this
ConfigValue. |
getValuegetTypepublic NumberConstraint(ConstraintType type, T value) throws RuntimeFiberException
RuntimeFiberExceptionpublic boolean test(T value)
ConstraintConfigValue.test in class Constraint<T extends java.lang.Number>value - the valuetrue if value satisfies the constraint