Package org.apache.commons.functor.core.algorithm
Various algorithm-esque functors.
-
Class Summary Class Description DoUntil Do-until algorithm (test after).DoWhile Do-while algorithm (test after).FindWithinGenerator<E> Return the first Object in aGeneratormatching aUnaryPredicate.FindWithinGenerator.FindProcedure<T> Helper procedure.FoldLeft<T> Functional left-fold algorithm against the elements of aGenerator.FoldLeft.FoldLeftHelper<T> Helper procedure.FoldRight<T> Functional right-fold algorithm against the elements of aGenerator.FoldRight.FoldRightHelper<T> Helper class.GeneratorContains<T> Tests whether aGeneratorcontains an element that matches aUnaryPredicate.GeneratorContains.ContainsProcedure<T> Helper procedure.IndexOfInGenerator<T> Return the index of the first Object in aGeneratormatching aUnaryPredicate, or -1 if not found.IndexOfInGenerator.IndexProcedure<T> Helper procedure.InPlaceTransform<T> Implements an in-place transformation of a ListIterator's contents.PredicatedLoop Base class for predicated procedure algorithms.RecursiveEvaluation Tail recursion forfunctions.RemoveMatching<T> Remove elements from left Iterator that match right UnaryPredicate.RetainMatching<T> Retain elements in left Iterator that match right UnaryPredicate.UntilDo Until-do algorithm (test before).WhileDo While-do algorithm (test before).