|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Constraint
A function object that tests one argument and returns a single
boolean
result.
A constraint tests a single argument against some conditional expression. For example, a "required" constraint will return true if the provided argument is non-null or empty, false otherwise.
Method Summary | |
---|---|
boolean |
test(Object argument)
Test the provided argument against this predicate's condition. |
Method Detail |
---|
boolean test(Object argument)
argument
- the argument value
true
if the condition was satisfied,
false
otherwise
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |