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. |
Value |
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(DomainEvaluator invokingEvaluator,
DomainExpression body,
CollectionValue collectionValue,
DomainTypedElement accumulator,
Value 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
public Value get(int i)
hasCurrent
public boolean hasCurrent()
- Description copied from interface:
DomainIterationManager
- Return true if the iterators have a step to be evaluated.