|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use BinaryFunctor | |
---|---|
org.apache.commons.functor | Basic functor interfaces. |
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.collection |
Collection -based functors, algorithms and utilities. |
org.apache.commons.functor.core.comparator |
Comparator - and
Comparable -based functors, algorithms and utilities. |
org.apache.commons.functor.core.composite | Functors composed of other functors. |
Uses of BinaryFunctor in org.apache.commons.functor |
---|
Subinterfaces of BinaryFunctor in org.apache.commons.functor | |
---|---|
interface |
BinaryFunction<L,R,T>
A functor that takes two arguments and returns a value. |
interface |
BinaryPredicate<L,R>
A functor that takes two arguments and returns a boolean value. |
interface |
BinaryProcedure<L,R>
A functor that takes two arguments and has no return value. |
Uses of BinaryFunctor in org.apache.commons.functor.adapter |
---|
Classes in org.apache.commons.functor.adapter that implement BinaryFunctor | |
---|---|
class |
BinaryFunctionBinaryPredicate<L,R>
Adapts a Boolean -valued BinaryFunction to
the BinaryPredicate interface. |
class |
BinaryFunctionBinaryProcedure<L,R>
Adapts a BinaryFunction
to the BinaryProcedure
interface by ignoring the value returned
by the function. |
class |
BinaryPredicateBinaryFunction<L,R>
Adapts a BinaryPredicate
to the
BinaryFunction interface. |
class |
BinaryProcedureBinaryFunction<L,R,T>
Adapts a BinaryProcedure
to the
BinaryFunction interface
by always returning null . |
class |
IgnoreLeftFunction<L,R,T>
Adapts a UnaryFunction
to the
BinaryFunction interface
by ignoring the first binary argument. |
class |
IgnoreLeftPredicate<L,R>
Adapts a UnaryPredicate
to the
BinaryPredicate interface
by ignoring the first binary argument. |
class |
IgnoreLeftProcedure<L,R>
Adapts a UnaryProcedure
to the
BinaryProcedure interface
by ignoring the first binary argument. |
class |
IgnoreRightFunction<L,R,T>
Adapts a UnaryFunction
to the
BinaryFunction interface
by ignoring the second binary argument. |
class |
IgnoreRightPredicate<L,R>
Adapts a UnaryPredicate
to the
BinaryPredicate interface
by ignoring the second binary argument. |
class |
IgnoreRightProcedure<L,R>
Adapts a UnaryProcedure
to the
BinaryProcedure interface
by ignoring the second binary argument. |
Uses of BinaryFunctor in org.apache.commons.functor.core |
---|
Classes in org.apache.commons.functor.core that implement BinaryFunctor | |
---|---|
class |
Constant<T>
Evaluates to constant value. |
class |
IsEqual<L,R>
Tests
true iff its arguments are
equal or both
null . |
class |
IsInstance<T>
Tests
true iff its argument
is an instance
of some specified Class . |
class |
IsNotEqual<L,R>
Tests
true iff its arguments are
not equal or both
null . |
class |
IsNotSame<L,R>
Tests the reference (!=) inequality of its arguments. |
class |
IsSame<L,R>
Tests the reference (==) equality of its arguments. |
class |
Limit
A predicate that returns true
the first n times it is invoked. |
class |
NoOp
A procedure that does nothing at all. |
class |
Offset
A predicate that returns false
the first n times it is invoked, and
true thereafter. |
Uses of BinaryFunctor in org.apache.commons.functor.core.algorithm |
---|
Classes in org.apache.commons.functor.core.algorithm that implement BinaryFunctor | |
---|---|
class |
FindWithinGenerator<E>
Return the first Object in a Generator matching a UnaryPredicate . |
class |
FoldLeft<T>
Functional left-fold algorithm against the elements of a Generator . |
class |
FoldRight<T>
Functional right-fold algorithm against the elements of a Generator . |
class |
GeneratorContains<T>
Tests whether a Generator contains an element that matches a UnaryPredicate . |
class |
IndexOfInGenerator<T>
Return the index of the first Object in a Generator matching a UnaryPredicate , or -1 if not found. |
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 BinaryFunctor in org.apache.commons.functor.core.collection |
---|
Classes in org.apache.commons.functor.core.collection that implement BinaryFunctor | |
---|---|
class |
IsElementOf<L,R>
A BinaryPredicate that checks to see if the
specified object is an element of the specified
Collection. |
Uses of BinaryFunctor in org.apache.commons.functor.core.comparator |
---|
Classes in org.apache.commons.functor.core.comparator that implement BinaryFunctor | |
---|---|
class |
ComparatorFunction<T>
Adapts a Comparator to the
BinaryFunction interface. |
class |
IsEquivalent<T>
A BinaryPredicate that tests
true iff the left argument is equal to the
right argument under the specified Comparator . |
class |
IsGreaterThan<T>
A BinaryPredicate that tests
true iff the left argument is greater than the
right argument under the specified Comparator . |
class |
IsGreaterThanOrEqual<T>
A BinaryPredicate that tests
true iff the left argument is greater than or equal
to the right argument under the specified Comparator . |
class |
IsLessThan<T>
A BinaryPredicate that tests
true iff the left argument is greater than the
right argument under the specified Comparator . |
class |
IsLessThanOrEqual<T>
A BinaryPredicate that tests
true iff the left argument is less than or equal to the
right argument under the specified Comparator . |
class |
IsNotEquivalent<T>
A BinaryPredicate that tests
true iff the left argument is not equal to the
right argument under the specified Comparator . |
class |
Max<T>
Adapts a Comparator to the
BinaryFunction interface. |
class |
Min<T>
Adapts a Comparator to the
BinaryFunction interface. |
Uses of BinaryFunctor in org.apache.commons.functor.core.composite |
---|
Classes in org.apache.commons.functor.core.composite that implement BinaryFunctor | |
---|---|
class |
BinaryAnd<L,R>
Tests true iff
none of its children test false . |
class |
BinaryCompositeBinaryFunction<L,R,T>
A BinaryFunction composed of
three binary functions, f, g and h,
evaluating the ordered parameters x, y
to f(g(x,y),h(x,y)) . |
class |
BinaryNot<L,R>
Tests to the logical inverse
of some other predicate. |
class |
BinaryOr<L,R>
Tests true iff
at least one of its children test true . |
class |
BinarySequence<L,R>
A BinaryProcedure
that runs an ordered
sequence of BinaryProcedures . |
class |
ConditionalBinaryFunction<L,R,T>
A BinaryFunction
similiar to Java's "ternary"
or "conditional" operator (? : ). |
class |
ConditionalBinaryPredicate<L,R>
A BinaryPredicate
similiar to Java's "ternary"
or "conditional" operator (? : ). |
class |
ConditionalBinaryProcedure<L,R>
A BinaryProcedure
similiar to Java's "ternary"
or "conditional" operator (? : ). |
class |
TransformedBinaryFunction<L,R,T>
A BinaryFunction whose result is then run through a UnaryFunction. |
class |
TransformedBinaryProcedure<L,R>
A BinaryProcedure composed of a BinaryFunction whose result is then run through a UnaryProcedure. |
class |
TransposedFunction<L,R,T>
Transposes (swaps) the arguments to some other function . |
class |
TransposedPredicate<L,R>
Transposes (swaps) the arguments to some other predicate . |
class |
TransposedProcedure<L,R>
Transposes (swaps) the arguments to some other procedure . |
class |
UnaryCompositeBinaryFunction<L,R,T>
A BinaryFunction composed of
one binary function, f, and two unary
functions, g and h,
evaluating the ordered parameters x, y
to f(g(x),h(y)) . |
class |
UnaryCompositeBinaryPredicate<L,R>
A BinaryPredicate composed of
one binary predicate, p, and two unary
functions, f and g,
evaluating the ordered parameters x, y
to p(f(x),g(y)) . |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |