public interface IterationManager
| Modifier and Type | Interface and Description |
|---|---|
static interface |
IterationManager.IterationManagerExtension |
static interface |
IterationManager.IterationManagerExtension2 |
| Modifier and Type | Method and Description |
|---|---|
boolean |
advanceIterators()
Advance the iterators to the next iteration, returning false once all possible
iterator states have been exhausted.
|
IterationManager |
createNestedIterationManager(CollectionValue value)
Deprecated.
use IterationManagerExtension2 and IterableValue
|
void |
dispose() |
Object |
evaluateBody()
Evaluate the iteration body for the current iterators and return the evaluation result.
|
Object |
get()
Get the current state of the iterator.
|
Object |
getAccumulatorValue()
Get the current state of the accumulator.
|
Evaluator |
getEvaluator()
Deprecated.
use getExecutor()
|
CollectionValue |
getSourceCollection()
Deprecated.
replaced by getSourceIterable
|
StandardLibrary |
getStandardLibrary() |
boolean |
hasCurrent()
Return true if the iterators have a step to be evaluated.
|
Object |
updateAccumulator(Object newValue)
Update the accumulator with the result of a body iteration.
|
boolean advanceIterators()
@Deprecated IterationManager createNestedIterationManager(CollectionValue value)
value - the nested iteration domainInvalidValueExceptionvoid dispose()
Object evaluateBody()
Object get()
Object getAccumulatorValue()
@Deprecated Evaluator getEvaluator()
@Deprecated CollectionValue getSourceCollection()
StandardLibrary getStandardLibrary()
boolean hasCurrent()
Object updateAccumulator(Object newValue)
InvalidValueExceptionCopyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.