|
||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
See:
Description
Interface Summary | |
---|---|
BinaryFunction<L,R,T> | A functor that takes two arguments and returns a value. |
BinaryFunctor<L,R> | Marker interface for binary (two-argument) functors. |
BinaryPredicate<L,R> | A functor that takes two arguments and returns a boolean value. |
BinaryProcedure<L,R> | A functor that takes two arguments and has no return value. |
Function<T> | A functor that takes no arguments and returns a value. |
Functor | Functor marker interface. |
NullaryFunctor | Marker interface for nullary (zero-argument) functors. |
Predicate | A functor that takes no arguments and returns a boolean value. |
Procedure | A functor that takes no arguments and returns no value. |
UnaryFunction<A,T> | A functor that takes one argument and returns an Object value. |
UnaryFunctor<A> | Marker interface for unary (single-argument) functors. |
UnaryPredicate<A> | A functor that takes one argument and returns a boolean value. |
UnaryProcedure<A> | A functor that takes one argument and returns no value. |
Basic functor interfaces.
Implementors are encouraged, but not strictly required, to make each functor
implementation Serializable
.
Note that each functor interface extends the
Object.equals
contract to state that
equals
can return true only if
the specified Object implements the same functor interface
and is known to produce the same results and/or side-effects
for the same arguments (if any). Note that the default
Object.equals
implementation
does in fact adhere to the functor equals
contract.
|
||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |