| Package | Description |
|---|---|
| org.apache.commons.functor.generator |
Contains code related to Generators.
|
| org.apache.commons.functor.generator.util |
Contains utility code for Generators.
|
| 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 UnaryPredicate.
|
class |
GenerateUntil<E>
Wrap another
Generator such that GenerateUntil.run(UnaryProcedure) terminates once
a condition has been satisfied (test after). |
class |
GenerateWhile<E>
Wrap another
Generator such that GenerateWhile.run(UnaryProcedure) continues
as long as a condition is true (test after). |
class |
IteratorToGeneratorAdapter<E>
|
class |
TransformedGenerator<I,E>
Generator that transforms the elements of another Generator.
|
class |
UntilGenerate<E>
Wrap another
Generator such that UntilGenerate.run(UnaryProcedure) terminates once
a condition has been satisfied. |
class |
WhileGenerate<E>
Wrap another
Generator such that WhileGenerate.run(UnaryProcedure) continues
as long as a condition is true (test before). |
| Modifier and Type | Class and Description |
|---|---|
class |
IntegerRange
A generator for the range from (inclusive) to to (exclusive).
|
class |
LongRange
A generator for the range from (inclusive) to to (exclusive).
|
Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.