|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use BinaryProcedure | |
---|---|
org.apache.commons.functor.adapter | Classes that adapt one functor interface to another. |
org.apache.commons.functor.core | Commonly used functor implementations. |
org.apache.commons.functor.core.algorithm | Various algorithm-esque functors. |
org.apache.commons.functor.core.composite | Functors composed of other functors. |
Uses of BinaryProcedure in org.apache.commons.functor.adapter |
---|
Classes in org.apache.commons.functor.adapter that implement BinaryProcedure | |
---|---|
class |
BinaryFunctionBinaryProcedure<L,R>
Adapts a BinaryFunction
to the BinaryProcedure
interface by ignoring the value returned
by the function. |
class |
IgnoreLeftProcedure<L,R>
Adapts a UnaryProcedure
to the
BinaryProcedure interface
by ignoring the first binary argument. |
class |
IgnoreRightProcedure<L,R>
Adapts a UnaryProcedure
to the
BinaryProcedure interface
by ignoring the second binary argument. |
Methods in org.apache.commons.functor.adapter with parameters of type BinaryProcedure | ||
---|---|---|
static
|
BinaryProcedureUnaryProcedure.adapt(BinaryProcedure<? super A,? super A> procedure)
Adapt a BinaryProcedure as a UnaryProcedure. |
|
static
|
BinaryProcedureBinaryFunction.adapt(BinaryProcedure<? super L,? super R> procedure)
Adapt the given, possibly- null ,
BinaryProcedure to the
BinaryFunction interface. |
|
static
|
LeftBoundProcedure.bind(BinaryProcedure<? super L,? super R> procedure,
L arg)
Get a UnaryProcedure from procedure . |
|
static
|
FullyBoundProcedure.bind(BinaryProcedure<? super L,? super R> procedure,
L left,
R right)
Adapt a BinaryProcedure to the Procedure interface. |
|
static
|
RightBoundProcedure.bind(BinaryProcedure<? super L,? super R> procedure,
R arg)
Get a UnaryProcedure from procedure . |
Constructors in org.apache.commons.functor.adapter with parameters of type BinaryProcedure | |
---|---|
BinaryProcedureBinaryFunction(BinaryProcedure<? super L,? super R> procedure)
Create a new BinaryProcedureBinaryFunction. |
|
BinaryProcedureUnaryProcedure(BinaryProcedure<? super A,? super A> procedure)
Create a new BinaryProcedureUnaryProcedure. |
|
FullyBoundProcedure(BinaryProcedure<? super L,? super R> procedure,
L left,
R right)
Create a new FullyBoundProcedure instance. |
|
LeftBoundProcedure(BinaryProcedure<? super L,? super A> procedure,
L arg)
Create a new LeftBoundProcedure. |
|
RightBoundProcedure(BinaryProcedure<? super A,? super R> procedure,
R arg)
Create a new RightBoundProcedure. |
Uses of BinaryProcedure in org.apache.commons.functor.core |
---|
Classes in org.apache.commons.functor.core that implement BinaryProcedure | |
---|---|
class |
NoOp
A procedure that does nothing at all. |
Methods in org.apache.commons.functor.core that return BinaryProcedure | ||
---|---|---|
static
|
NoOp.binaryInstance()
Get a typed NoOp BinaryProcedure . |
Uses of BinaryProcedure in org.apache.commons.functor.core.algorithm |
---|
Classes in org.apache.commons.functor.core.algorithm that implement BinaryProcedure | |
---|---|
class |
InPlaceTransform<T>
Implements an in-place transformation of a ListIterator's contents. |
class |
RemoveMatching<T>
Remove elements from left Iterator that match right UnaryPredicate. |
class |
RetainMatching<T>
Retain elements in left Iterator that match right UnaryPredicate. |
Uses of BinaryProcedure in org.apache.commons.functor.core.composite |
---|
Classes in org.apache.commons.functor.core.composite that implement BinaryProcedure | |
---|---|
class |
BinarySequence<L,R>
A BinaryProcedure
that runs an ordered
sequence of BinaryProcedures . |
class |
ConditionalBinaryProcedure<L,R>
A BinaryProcedure
similiar to Java's "ternary"
or "conditional" operator (? : ). |
class |
TransformedBinaryProcedure<L,R>
A BinaryProcedure composed of a BinaryFunction whose result is then run through a UnaryProcedure. |
class |
TransposedProcedure<L,R>
Transposes (swaps) the arguments to some other procedure . |
Methods in org.apache.commons.functor.core.composite that return BinaryProcedure | ||
---|---|---|
static
|
Conditional.procedure(BinaryPredicate<? super L,? super R> q,
BinaryProcedure<? super L,? super R> r)
Create a guarded BinaryProcedure. |
|
static
|
Conditional.procedure(BinaryPredicate<? super L,? super R> q,
BinaryProcedure<? super L,? super R> r,
BinaryProcedure<? super L,? super R> s)
Create a conditional BinaryProcedure. |
Methods in org.apache.commons.functor.core.composite with parameters of type BinaryProcedure | ||
---|---|---|
static
|
Conditional.procedure(BinaryPredicate<? super L,? super R> q,
BinaryProcedure<? super L,? super R> r)
Create a guarded BinaryProcedure. |
|
static
|
Conditional.procedure(BinaryPredicate<? super L,? super R> q,
BinaryProcedure<? super L,? super R> r,
BinaryProcedure<? super L,? super R> s)
Create a conditional BinaryProcedure. |
|
static
|
Conditional.procedure(BinaryPredicate<? super L,? super R> q,
BinaryProcedure<? super L,? super R> r,
BinaryProcedure<? super L,? super R> s)
Create a conditional BinaryProcedure. |
|
BinarySequence<L,R> |
BinarySequence.then(BinaryProcedure<? super L,? super R> p)
Fluently add a BinaryProcedure. |
|
static
|
TransposedProcedure.transpose(BinaryProcedure<? super L,? super R> p)
Transpose a BinaryProcedure. |
Constructors in org.apache.commons.functor.core.composite with parameters of type BinaryProcedure | |
---|---|
BinarySequence(BinaryProcedure<? super L,? super R>... procedures)
Create a new BinarySequence instance. |
|
ConditionalBinaryProcedure(BinaryPredicate<? super L,? super R> ifPred,
BinaryProcedure<? super L,? super R> thenProc)
Create a new ConditionalBinaryProcedure. |
|
ConditionalBinaryProcedure(BinaryPredicate<? super L,? super R> ifPred,
BinaryProcedure<? super L,? super R> thenProc,
BinaryProcedure<? super L,? super R> elseProc)
Create a new ConditionalBinaryProcedure. |
|
ConditionalBinaryProcedure(BinaryPredicate<? super L,? super R> ifPred,
BinaryProcedure<? super L,? super R> thenProc,
BinaryProcedure<? super L,? super R> elseProc)
Create a new ConditionalBinaryProcedure. |
|
TransposedProcedure(BinaryProcedure<? super R,? super L> procedure)
Create a new TransposedProcedure. |
Constructor parameters in org.apache.commons.functor.core.composite with type arguments of type BinaryProcedure | |
---|---|
BinarySequence(Iterable<BinaryProcedure<? super L,? super R>> procedures)
Create a new BinarySequence instance. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |