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, getStandardLibrary
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
advanceIterators, 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 IterationManager
dispose
in class AbstractIterationManager
public Object evaluateBody()
IterationManager
public Object getAccumulatorValue()
IterationManager
public CollectionValue getCollectionValue()
public EvaluationEnvironment getEvaluationEnvironment()
public CollectionValue getSourceCollection()
IterationManager
public Object updateAccumulator(Object newValue)
IterationManager
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.