Package | Description |
---|---|
org.apache.commons.functor.core.algorithm |
Various algorithm-esque functors.
|
org.apache.commons.functor.generator.loop |
Contains code related to Generators that control execution flow.
|
Modifier and Type | Method and Description |
---|---|
Number |
IndexOfInGenerator.evaluate(LoopGenerator<? extends T> left,
Predicate<? super T> right)
Evaluate this function.
|
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 |
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.