org.eclipse.ocl.examples.domain.library
Class EvaluatorMultipleIterationManager
java.lang.Object
org.eclipse.ocl.examples.domain.library.AbstractIterationManager
org.eclipse.ocl.examples.domain.library.EvaluatorIterationManager
org.eclipse.ocl.examples.domain.library.EvaluatorMultipleIterationManager
- All Implemented Interfaces:
- DomainIterationManager
public class EvaluatorMultipleIterationManager
- extends EvaluatorIterationManager
Method Summary |
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
iterators
protected final EvaluatorIterationManager.ValueIterator[] iterators
hasCurrent
protected boolean hasCurrent
EvaluatorMultipleIterationManager
public EvaluatorMultipleIterationManager(@NonNull
DomainEvaluator invokingEvaluator,
@NonNull
DomainExpression body,
@NonNull
CollectionValue collectionValue,
@Nullable
DomainTypedElement accumulator,
@Nullable
java.lang.Object accumulatorValue,
DomainTypedElement... referredIterators)
advanceIterators
public boolean advanceIterators()
- Description copied from interface:
DomainIterationManager
- Advance the iterators to the next iteration, returning false once all possible
iterator states have been exhausted.
get
@NonNull
public java.lang.Object get(int i)
hasCurrent
public boolean hasCurrent()
- Description copied from interface:
DomainIterationManager
- Return true if the iterators have a step to be evaluated.