|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.ocl.examples.domain.values.util.ValuesUtil
org.eclipse.ocl.examples.domain.library.AbstractFeature
org.eclipse.ocl.examples.domain.library.AbstractIteration
org.eclipse.ocl.examples.library.iterator.CollectNestedIteration
public class CollectNestedIteration
CollectNestedIteration realizes the Collection::collectNested() library iteration.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.eclipse.ocl.examples.domain.library.AbstractIteration |
---|
AbstractIteration.MutableObject |
Field Summary | |
---|---|
static CollectNestedIteration |
INSTANCE
|
Fields inherited from class org.eclipse.ocl.examples.domain.library.AbstractIteration |
---|
CARRY_ON |
Fields inherited from class org.eclipse.ocl.examples.domain.values.util.ValuesUtil |
---|
EMPTY_BAG, EMPTY_SET, FALSE_VALUE, INTEGER_MAX_VALUE, INTEGER_MIN_VALUE, INVALID_VALUE, LONG_MAX_VALUE, LONG_MIN_VALUE, NULL_STRING, NULL_VALUE, ONE_VALUE, TRUE_VALUE, UNLIMITED_VALUE, ZERO_VALUE |
Constructor Summary | |
---|---|
CollectNestedIteration()
|
Method Summary | |
---|---|
CollectionValue.Accumulator |
createAccumulatorValue(DomainEvaluator evaluator,
TypeId accumulatorTypeId,
TypeId bodyTypeId)
Create the value that will accumulate the iteration results. |
protected java.lang.Object |
updateAccumulator(DomainIterationManager iterationManager)
Update the accumulatorValue with the bodyValue resulting from the current iteration for which the iterators define the context in the environment. |
Methods inherited from class org.eclipse.ocl.examples.domain.library.AbstractIteration |
---|
evaluateIteration, resolveTerminalValue |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
@NonNull public static final CollectNestedIteration INSTANCE
Constructor Detail |
---|
public CollectNestedIteration()
Method Detail |
---|
@NonNull public CollectionValue.Accumulator createAccumulatorValue(@NonNull DomainEvaluator evaluator, @NonNull TypeId accumulatorTypeId, @NonNull TypeId bodyTypeId)
LibraryIteration
evaluator
- that supervises evaluation
@Nullable protected java.lang.Object updateAccumulator(@NonNull DomainIterationManager iterationManager)
AbstractIteration
updateAccumulator
in class AbstractIteration
iterationManager
- the iteration context
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |