Package | Description |
---|---|
org.apache.commons.functor.generator |
Contains code related to Generators.
|
org.apache.commons.functor.generator.loop |
Contains code related to Generators that control execution flow.
|
Modifier and Type | Class and Description |
---|---|
class |
FilteredGenerator<E>
Generator that filters another Generator by only passing through those elements
that are matched by a specified Predicate.
|
Modifier and Type | Class and Description |
---|---|
class |
GenerateUntil<E>
Wrap another
Generator such that GenerateUntil.run(Procedure) terminates once
a condition has been satisfied (test after). |
class |
GenerateWhile<E>
Wrap another
Generator such that GenerateWhile.run(Procedure) continues
as long as a condition is true (test after). |
class |
IteratorToGeneratorAdapter<E>
Adapts an
Iterator to the LoopGenerator interface. |
class |
LoopGenerator<E>
Base class for generators that control execution flow, and may need to
stop the generation.
|
class |
TransformedGenerator<I,E>
Generator that transforms the elements of another Generator.
|
class |
UntilGenerate<E>
Wrap another
Generator such that UntilGenerate.run(Procedure) terminates once
a condition has been satisfied. |
class |
WhileGenerate<E>
Wrap another
Generator such that WhileGenerate.run(Procedure) continues
as long as a condition is true (test before). |
Copyright © 2003–2014 The Apache Software Foundation. All rights reserved.