|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
T - the constrained type.public interface Constraint<T>
A constraint on values of a given type.
| Method Summary | |
|---|---|
boolean |
accepts(T t)
Indicates whether a value satisfies the constraint. |
| Method Detail |
|---|
boolean accepts(T t)
t - the value.
true if it does, false otherwise.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||