T - the value of this constraintA - the type of values this constraint checkspublic abstract class ValuedConstraint<T,A> extends Constraint<A>
For example, a NumberConstraint can have as value a minimum or maximum.
| Constructor and Description |
|---|
ValuedConstraint(ConstraintType type,
T value) |
| Modifier and Type | Method and Description |
|---|---|
T |
getValue() |
getType, testpublic ValuedConstraint(ConstraintType type, T value)
public T getValue()