|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
E - argument typeRV - return value typepublic interface NaryFunction<E,RV>
Typed functor that takes an arbitrary number of arguments
of the same type E and returns a value of type
RV.
| Method Summary | |
|---|---|
RV |
evaluate(E... e)
Evaluate this function with the specified arguments. |
| Method Detail |
|---|
RV evaluate(E... e)
The arguments may be passed as an array
f.evaluate(new E[] { e0, e1, e2, e3 })
or as a sequence of arguments:
f.evaluate(e1, e2, e3, e4)
For more information on varargs, see
>
http://java.sun.com/j2se/1.5.0/docs/guide/language/varargs.html
e - arbitrary number of arguments to this execution
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||