A - the type of aggregate this constraint checksT - the type of elements <A> holdspublic abstract static class ComponentConstraintsBuilder.ComponentConstraint<A,T> extends Constraint<A>
| Modifier and Type | Method and Description |
|---|---|
protected abstract boolean |
allMatch(Constraint<? super T> constraint,
A value) |
boolean |
test(A value)
Tests a value against this
ConfigValue. |
getTypepublic boolean test(A value)
ConstraintConfigValue.test in class Constraint<A>value - the valuetrue if value satisfies the constraintprotected abstract boolean allMatch(Constraint<? super T> constraint, A value)