public abstract class AbstractEvaluatorIterationManager extends AbstractIterationManager
IterationManager.IterationManagerExtension| Constructor and Description |
|---|
AbstractEvaluatorIterationManager(AbstractEvaluatorIterationManager iterationManager,
CollectionValue collectionValue) |
AbstractEvaluatorIterationManager(Evaluator evaluator,
OCLExpression body,
CollectionValue collectionValue,
TypedElement accumulatorVariable,
Object accumulatorValue)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
dispose() |
Object |
evaluateBody()
Evaluate the iteration body for the current iterators and return the evaluation result.
|
Object |
getAccumulatorValue()
Get the current state of the accumulator.
|
CollectionValue |
getCollectionValue() |
EvaluationEnvironment |
getEvaluationEnvironment() |
CollectionValue |
getSourceCollection()
Return the source collection over which this (nested) iteration iterates.
|
String |
toString() |
Object |
updateAccumulator(Object newValue)
Update the accumulator with the result of a body iteration.
|
createNestedIterationManager, get, getEvaluator, getExecutor, getStandardLibraryequals, getClass, hashCode, notify, notifyAll, wait, wait, waitadvanceIterators, hasCurrent@Deprecated public AbstractEvaluatorIterationManager(Evaluator evaluator, OCLExpression body, CollectionValue collectionValue, TypedElement accumulatorVariable, Object accumulatorValue)
public AbstractEvaluatorIterationManager(AbstractEvaluatorIterationManager iterationManager, CollectionValue collectionValue)
public void dispose()
dispose in interface IterationManagerdispose in class AbstractIterationManagerpublic Object evaluateBody()
IterationManagerpublic Object getAccumulatorValue()
IterationManagerpublic CollectionValue getCollectionValue()
public EvaluationEnvironment getEvaluationEnvironment()
public CollectionValue getSourceCollection()
IterationManagerpublic Object updateAccumulator(Object newValue)
IterationManagerCopyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.