public class EvaluatorMultipleIterationManager extends AbstractEvaluatorIterationManager
AbstractEvaluatorIterationManager.ValueIterator
IterationManager.IterationManagerExtension
Modifier and Type | Field and Description |
---|---|
protected boolean |
hasCurrent |
protected AbstractEvaluatorIterationManager.ValueIterator[] |
iterators |
accumulatorVariable, body, callExp, collectionValue
evaluator, executor
Constructor and Description |
---|
EvaluatorMultipleIterationManager(Evaluator invokingExecutor,
OCLExpression body,
CollectionValue collectionValue,
TypedElement accumulator,
java.lang.Object accumulatorValue,
TypedElement... referredIterators)
Deprecated.
supply a callExp
|
EvaluatorMultipleIterationManager(Executor invokingExecutor,
CallExp callExp,
OCLExpression body,
CollectionValue collectionValue,
TypedElement accumulator,
java.lang.Object accumulatorValue,
TypedElement... referredIterators) |
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.
|
java.lang.Object |
get(int i) |
boolean |
hasCurrent()
Return true if the iterators have a step to be evaluated.
|
createIterators, createIterators, dispose, evaluateBody, getAccumulatorValue, getCollectionValue, getEvaluationEnvironment, getSourceCollection, toString, updateAccumulator
createNestedIterationManager, get, getEvaluator, getExecutor, getStandardLibrary
protected final AbstractEvaluatorIterationManager.ValueIterator[] iterators
protected boolean hasCurrent
@Deprecated public EvaluatorMultipleIterationManager(@NonNull Evaluator invokingExecutor, @NonNull OCLExpression body, @NonNull CollectionValue collectionValue, @Nullable TypedElement accumulator, @Nullable java.lang.Object accumulatorValue, TypedElement... referredIterators)
public EvaluatorMultipleIterationManager(@NonNull Executor invokingExecutor, CallExp callExp, @NonNull OCLExpression body, @NonNull CollectionValue collectionValue, @Nullable TypedElement accumulator, @Nullable java.lang.Object accumulatorValue, TypedElement... referredIterators)
public boolean advanceIterators()
IterationManager
@NonNull public java.lang.Object get(int i)
public boolean hasCurrent()
IterationManager