|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
A - a constraint on the allowable types for the predicate's argument.public interface UnaryCondition<A>
Interface for a predicate that accepts one argument.
This interface was extracted fromUnaryPredicate and methods
using it retrofitted to use this interface, to allow BGGA-style closures to be
converted to an interface type representing the predicate.
| Method Summary | |
|---|---|
boolean |
matches(A target)
Evaluates this predicate against the given target. |
| Method Detail |
|---|
boolean matches(A target)
target - the argument to the predicate
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||