Provides utilities that apply Functors and Predicates to common situations.
See: Description
Interface Summary | |
---|---|
Accumulate.Visitor | Interface for classes that may interpret an Accumulate functor. |
Count.Visitor | Interface for classes that may interpret an Count functor. |
ElementOf.Visitor | Interface for classes that may interpret an ElementOf functor. |
Find.Visitor | Interface for classes that may interpret an Find functor. |
FindAdjacent.Visitor | Interface for classes that may interpret an FindAdjacent functor. |
FindElement.Visitor | Interface for classes that may interpret a FindElement functor |
FindMismatch.Visitor | Interface for classes that may interpret a FindMismatch functor |
FindRepeated.Visitor | Interface for classes that may interpret an FindRepeated functor. |
FindSequence.Visitor | Interface for classes that may interpret a FindSequence functor |
ForEach.Visitor | Interface for classes that may interpret an ForEach functor. |
MaxValue.Visitor | Interface for classes that may interpret an MaxValue functor. |
MinValue.Visitor | Interface for classes that may interpret an MinValue functor. |
TransformBinary.Visitor | Interface for classes that may interpret an Transform functor. |
TransformUnary.Visitor | Interface for classes that may interpret an TransformUnary functor. |
Class Summary | |
---|---|
Accumulate<T> | Applies a BinaryFunctor to each element in an iteration, and returns the final result. |
Count<T> | Counts values in an iteration. |
ElementOf<T> | BinaryPredicate that returns true if a given value is an element of a given collection. |
Find<T> | Locates values in an iteration. |
FindAdjacent<T> | Locates pairs of adjacent values in an iteration. |
FindElement<T> | Locates values from a given collection in an iteration. |
FindMismatch<T> | Locates the next element in an iteration that is not equal to the corresponding element in a given collection. |
FindRepeated<T> | Locates runs of repeated values in an iteration. |
FindSequence<T> | Locates a sequence that matches the given pattern. |
ForEach<T,R> | Applies a UnaryFunctor to each element in an iteration, and returns the final result. |
MaxValue<T> | Identifies the largest value in a collection. |
MinValue<T> | Identifies the smallest value in a collection. |
TransformBinary<T1,T2,R> | Applies a BinaryFunctor to corresponding elements in a pair of iterations, and iterates over the results. |
TransformUnary<T,R> | Applies a UnaryFunctor to every element in an iteration, and iterates over the results. |