Interface | Description |
---|---|
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<A,T> |
A functor that takes one argument and returns an
Object value. |
Functor |
Functor marker interface.
|
NullaryFunction<T> |
A functor that takes no arguments and returns a value.
|
NullaryFunctor |
Marker interface for nullary (zero-argument) functors.
|
NullaryPredicate |
A functor that takes no arguments and returns a
boolean value. |
NullaryProcedure |
A functor that takes no arguments and returns no value.
|
Predicate<A> |
A functor that takes one argument and returns a
boolean value. |
Procedure<A> |
A functor that takes one argument and returns no value.
|
UnaryFunctor<A> |
Marker interface for unary (single-argument) functors.
|
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.
Copyright © 2003–2014 The Apache Software Foundation. All rights reserved.