|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
T - the type of the constrained values.public interface Constraint<T>
Accepts typed values that satisfy a given constraint.
| Method Summary | |
|---|---|
boolean |
accepts(T v)
Returns true if a value satisfies the constraint. |
| Method Detail |
|---|
boolean accepts(T v)
true if a value satisfies the constraint.
v - the value.
true if the value satisfies the constraint, false if it does not.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||