Package org.apache.commons.functor.core.algorithm
package org.apache.commons.functor.core.algorithm
Various algorithm-esque functors.
-
ClassesClassDescriptionDo-until algorithm (test after).Do-while algorithm (test after).Return the first Object in a
Generatormatching aUnaryPredicate.Helper procedure.FoldLeft<T>Functional left-fold algorithm against the elements of aGenerator.Helper procedure.FoldRight<T>Functional right-fold algorithm against the elements of aGenerator.Helper class.Tests whether aGeneratorcontains an element that matches aUnaryPredicate.Helper procedure.Return the index of the first Object in aGeneratormatching aUnaryPredicate, or -1 if not found.Helper procedure.Implements an in-place transformation of a ListIterator's contents.Base class for predicated procedure algorithms.Tail recursion forfunctions.Remove elements from left Iterator that match right UnaryPredicate.Retain elements in left Iterator that match right UnaryPredicate.Until-do algorithm (test before).While-do algorithm (test before).