All Classes and Interfaces

Class
Description
Abstract base class for WhileDoProcedure and DoWhileProcedure used to implement loop procedures.
Tests true iff none of its children test false.
Abstract base class for BinaryPredicates composed of a list of BinaryPredicates.
Base class for generators.
Abstract base class for Predicates composed of a list of Predicates.
Abstract base class for UnaryPredicates composed of a list of UnaryPredicates.
Tests true iff none of its children test false.
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)).
Type-remembering Helper.
A functor that takes two arguments and returns a value.
Adapts a Boolean-valued BinaryFunction to the BinaryPredicate interface.
Adapts a BinaryFunction to the BinaryProcedure interface by ignoring the value returned by the function.
Adapts a BinaryFunction as a UnaryFunction by sending the same argument to both sides of the BinaryFunction.
Marker interface for binary (two-argument) functors.
Tests to the logical inverse of some other predicate.
Tests true iff at least one of its children test true.
A functor that takes two arguments and returns a boolean value.
Adapts a BinaryPredicate to the BinaryFunction interface.
Adapts a BinaryPredicate as a UnaryPredicate by sending the same argument to both sides of the BinaryPredicate.
A functor that takes two arguments and has no return value.
Adapts a BinaryProcedure to the BinaryFunction interface by always returning null.
Adapts a BinaryProcedure as a UnaryProcedure by sending the same argument to both sides of the BinaryProcedure.
A BinaryProcedure that runs an ordered sequence of BinaryProcedures.
Adapts a UnaryFunction to the Function interface using a constant unary argument.
Adapts a UnaryPredicate to the Predicate interface using a constant unary argument.
Adapts a UnaryProcedure to the Procedure interface using a constant unary argument.
Transforms a generator into a collection.
See Commons-Collections for a public version of this class.
Adapts a Comparator to the BinaryFunction interface.
Utility/fluent methods for creating composite functors.
A UnaryFunction representing the composition of UnaryFunctions, "chaining" the output of one to the input of another.
Encapsulates a double function evaluation.
A UnaryPredicate representing the composition of UnaryFunctions, "chaining" the output of one to the input of another.
A UnaryProcedure representing the composition of UnaryFunctions, "chaining" the output of one to the input of another.
Utility methods for creating conditional functors.
A BinaryFunction similiar to Java's "ternary" or "conditional" operator (? :).
A BinaryPredicate similiar to Java's "ternary" or "conditional" operator (? :).
A BinaryProcedure similiar to Java's "ternary" or "conditional" operator (? :).
A Function similiar to Java's "ternary" or "conditional" operator (? :).
A Predicate similiar to Java's "ternary" or "conditional" operator (? :).
A Procedure similiar to Java's "ternary" or "conditional" operator (? :).
A UnaryFunction similiar to Java's "ternary" or "conditional" operator (? :).
A UnaryPredicate similiar to Java's "ternary" or "conditional" operator (? :).
A UnaryProcedure similiar to Java's "ternary" or "conditional" operator (? :).
Evaluates to constant value.
Do-until algorithm (test after).
Do-while algorithm (test after).
A Procedure implementation of a while loop.
Generator factory for each element of a "collection".
Generator that filters another Generator by only passing through those elements that are matched by a specified UnaryPredicate.
Adds a fluent filtering API to any Iterable.
Iterator that filters another Iterator by only passing through those elements that are matched by a specified UnaryPredicate.
Return the first Object in a Generator matching a UnaryPredicate.
Helper procedure.
Functional left-fold algorithm against the elements of a Generator.
Helper procedure.
Functional right-fold algorithm against the elements of a Generator.
Helper class.
Adapts a BinaryFunction to the Function interface using constant arguments.
Adapts a BinaryPredicate to the UnaryPredicate interface using a constant left-side argument.
Adapts a BinaryProcedure to the Procedure interface using a constant left-side argument.
A functor that takes no arguments and returns a value.
Adapts a Boolean-valued Function to the Predicate interface.
Adapts a Function to the Procedure interface by ignoring the value returned by the function.
Adapts a Function to the UnaryFunction interface by ignoring the unary argument.
Functor marker interface.
Wrap another Generator such that GenerateUntil.run(UnaryProcedure) terminates once a condition has been satisfied (test after).
Wrap another Generator such that GenerateWhile.run(UnaryProcedure) continues as long as a condition is true (test after).
The Generator interface defines a number of useful actions applying UnaryFunctors to each in a series of argument Objects.
Tests whether a Generator contains an element that matches a UnaryPredicate.
Helper procedure.
Evaluates to its input argument.
Adapts a UnaryFunction to the BinaryFunction interface by ignoring the first binary argument.
Adapts a UnaryPredicate to the BinaryPredicate interface by ignoring the first binary argument.
Adapts a UnaryProcedure to the BinaryProcedure interface by ignoring the first binary argument.
Adapts a UnaryFunction to the BinaryFunction interface by ignoring the second binary argument.
Adapts a UnaryPredicate to the BinaryPredicate interface by ignoring the second binary argument.
Adapts a UnaryProcedure to the BinaryProcedure interface by ignoring the second binary argument.
Return the index of the first Object in a Generator matching a UnaryPredicate, or -1 if not found.
Helper procedure.
Implements an in-place transformation of a ListIterator's contents.
A generator for the range from (inclusive) to to (exclusive).
A BinaryPredicate that checks to see if the specified object is an element of the specified Collection.
 
Tests true iff its arguments are equal or both null.
A BinaryPredicate that tests true iff the left argument is equal to the right argument under the specified Comparator.
A BinaryPredicate that tests true iff the left argument is greater than the right argument under the specified Comparator.
A BinaryPredicate that tests true iff the left argument is greater than or equal to the right argument under the specified Comparator.
Tests true iff its argument is an instance of some specified Class.
A BinaryPredicate that tests true iff the left argument is greater than the right argument under the specified Comparator.
A BinaryPredicate that tests true iff the left argument is less than or equal to the right argument under the specified Comparator.
Tests true iff its arguments are not equal or both null.
A BinaryPredicate that tests true iff the left argument is not equal to the right argument under the specified Comparator.
Tests false iff its argument is null.
Tests the reference (!=) inequality of its arguments.
Tests true iff its argument is null.
Tests the reference (==) equality of its arguments.
A UnaryPredicate that tests whether a Comparable object is within a range.
Adapts an Iterator to the Generator interface.
Adapts a BinaryFunction to the UnaryFunction interface using a constant left-side argument.
Adapts a BinaryPredicate to the UnaryPredicate interface using a constant left-side argument.
Adapts a BinaryProcedure to the UnaryProcedure interface using a constant left-side argument.
Holder class for a left-identity BinaryFunction (evaluates to the left argument) and a left-identity BinaryPredicate (tests whether left Boolean argument equals Boolean.TRUE).
A predicate that returns true the first n times it is invoked.
A generator for the range from (inclusive) to to (exclusive).
Adapts a Comparator to the BinaryFunction interface.
Adapts a Comparator to the BinaryFunction interface.
A procedure that does nothing at all.
Tests to the logical inverse of some other predicate.
Marker interface for nullary (zero-argument) functors.
A predicate that returns false the first n times it is invoked, and true thereafter.
Tests true iff at least one of its children test true.
A functor that takes no arguments and returns a boolean value.
Base class for predicated procedure algorithms.
Adapts a Predicate to the Function interface.
Adapts a Predicate to the UnaryPredicate interface by ignoring the given argument.
A functor that takes no arguments and returns no value.
Adapts a Procedure to the Function interface by always returning null.
Adapts a Procedure to the UnaryProcedure interface by ignoring the arguments.
Tail recursion for functions.
Remove elements from left Iterator that match right UnaryPredicate.
Retain elements in left Iterator that match right UnaryPredicate.
Adapts a BinaryFunction to the UnaryFunction interface using a constant right-side argument.
Adapts a BinaryPredicate to the UnaryPredicate interface using a constant left-side argument.
Adapts a BinaryProcedure to the UnaryProcedure interface using a constant left-side argument.
Holder class for a right-identity BinaryFunction (evaluates to the right argument) and a right-identity BinaryPredicate (tests whether right Boolean argument equals Boolean.TRUE).
A Procedure that runs an ordered sequence of Procedures.
Returns the size of the specified Collection, or the length of the specified array or String.
A BinaryFunction whose result is then run through a UnaryFunction.
Type-remembering helper.
A BinaryProcedure composed of a BinaryFunction whose result is then run through a UnaryProcedure.
Type-remembering helper.
A Function whose result is then run through a UnaryFunction.
Type-remembering helper.
Generator that transforms the elements of another Generator.
Iterator that transforms another Iterator by applying a UnaryFunction to each returned element.
A Procedure composed of a Function whose result is then run through a UnaryProcedure.
Type-remembering helper.
Transposes (swaps) the arguments to some other function.
Transposes (swaps) the arguments to some other predicate.
Transposes (swaps) the arguments to some other procedure.
Tests true iff none of its children test false.
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)).
 
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)).
Internal helper.
A functor that takes one argument and returns an Object value.
Adapts a Boolean-valued UnaryFunction to the UnaryPredicate interface.
Adapts a UnaryFunction to the UnaryProcedure interface by ignoring the value returned by the function.
Marker interface for unary (single-argument) functors.
Tests to the logical inverse of some other predicate.
Tests true iff at least one of its children test true.
A functor that takes one argument and returns a boolean value.
Adapts a UnaryPredicate to the UnaryFunction interface.
A functor that takes one argument and returns no value.
Adapts a UnaryProcedure to the UnaryFunction interface by always returning null.
A UnaryProcedure that runs an ordered sequence of UnaryProcedures.
Until-do algorithm (test before).
Wrap another Generator such that UntilGenerate.run(UnaryProcedure) terminates once a condition has been satisfied.
While-do algorithm (test before).
A Procedure implementation of a while loop.
Wrap another Generator such that WhileGenerate.run(UnaryProcedure) continues as long as a condition is true (test before).