|
||||||||||
| 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 functor's argumentR - a constraint on the allowable types for the functor's return valuepublic interface UnaryFunctor<A,R>
Interface for a functor that accepts one argument.
This interface was extracted fromUnaryFunctor and methods using it
retrofitted to use this interface, to allow BGGA-style closures to be converted to an
interface type representing the functor.
| Method Summary | |
|---|---|
R |
evaluate(A argument)
Evaluates this functor against the given target. |
| Method Detail |
|---|
R evaluate(A argument)
argument - the argument to the functor
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||