Package org.apache.commons.functor.generator

Contains code related to Generators.

See:
          Description

Interface Summary
Generator<E> The Generator interface defines a number of useful actions applying UnaryFunctors to each in a series of argument Objects.
 

Class Summary
BaseGenerator<E> Base class for generators.
FilteredGenerator<E> Generator that filters another Generator by only passing through those elements that are matched by a specified UnaryPredicate.
GenerateUntil<E> Wrap another Generator such that GenerateUntil.run(UnaryProcedure) terminates once a condition has been satisfied (test after).
GenerateWhile<E> Wrap another Generator such that GenerateWhile.run(UnaryProcedure) continues as long as a condition is true (test after).
IteratorToGeneratorAdapter<E> Adapts an Iterator to the Generator interface.
TransformedGenerator<I,E> Generator that transforms the elements of another Generator.
UntilGenerate<E> Wrap another Generator such that UntilGenerate.run(UnaryProcedure) terminates once a condition has been satisfied.
WhileGenerate<E> Wrap another Generator such that WhileGenerate.run(UnaryProcedure) continues as long as a condition is true (test before).
 

Package org.apache.commons.functor.generator Description

Contains code related to Generators.



Copyright © 2003-2011 The Apache Software Foundation. All Rights Reserved.