public class IterateIteration extends AbstractIteration
AbstractIteration.MutableObjectLibraryIteration.LibraryIterationExtension| Modifier and Type | Field and Description |
|---|---|
static IterateIteration |
INSTANCE |
CARRY_ONEMPTY_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_ONE_VALUE, UNLIMITED_VALUE, ZERO_VALUE| Constructor and Description |
|---|
IterateIteration() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
createAccumulatorValue(Evaluator evaluator,
TypeId accumulatorTypeId,
TypeId bodyTypeId)
Deprecated.
use Executor
|
java.lang.Object |
createAccumulatorValue(Executor executor,
TypeId accumulatorTypeId,
TypeId bodyTypeId)
Create the value that will accumulate the iteration results.
|
protected java.lang.Object |
updateAccumulator(IterationManager iterationManager)
Update the accumulatorValue with the bodyValue resulting from the current iteration
for which the iterators define the context in the environment.
|
evaluateIteration, resolveTerminalValueasBagValue, asBoolean, asClass, asCollectionType, asCollectionValue, asInteger, asIntegerValue, asMapType, asMapValue, asNavigableObject, asNavigableObject, asObject, asOrderedCollectionValue, asOrderedSetValue, asRealValue, asSequenceValue, asSetValue, asString, asTupleValue, asType, asUniqueCollectionValue, asUnlimitedNaturalValue, asValue, bigDecimalValueOf, bigIntegerValueOf, byteValueOf, characterValueOf, computeCollectionHashCode, createBagAccumulatorValue, createBagOfEach, createBagRange, createBagValue, createCollectionAccumulatorValue, createInvalidValue, createMapEntry, createMapOfEach, createMapValue, createObjectValue, createOrderedSetAccumulatorValue, createOrderedSetOfEach, createOrderedSetRange, createOrderedSetValue, createRange, createSequenceAccumulatorValue, createSequenceOfEach, createSequenceRange, createSequenceRange, createSequenceValue, createSetAccumulatorValue, createSetOfEach, createSetRange, createSetValue, createTupleOfEach, createTupleValue, doubleValueOf, floatValueOf, getElementIdName, getExecutor, getTypeName, initAllStatics, integerValueOf, integerValueOf, integerValueOf, integerValueOf, integerValueOf, intValueOf, isBoxed, isCollectionValue, isEcore, isIntegerNumber, isIntegerValue, isRealNumber, isUnboxed, isUnlimited, longValueOf, numberValueOf, oclToString, realValueOf, realValueOf, realValueOf, realValueOf, realValueOf, shortValueOf, stringValueOf, throwBooleanInvalidValueException, throwInvalidValueException, throwUnsupportedCompareTo, toString, typedIterable, unlimitedNaturalValueOf, unlimitedNaturalValueOf, unlimitedNaturalValueOf, unlimitedNaturalValueOf, unlimitedNaturalValueOf@NonNull public static final IterateIteration INSTANCE
@Deprecated
@NonNull
public java.lang.Object createAccumulatorValue(@NonNull
Evaluator evaluator,
@NonNull
TypeId accumulatorTypeId,
@NonNull
TypeId bodyTypeId)
@NonNull
public java.lang.Object createAccumulatorValue(@NonNull
Executor executor,
@NonNull
TypeId accumulatorTypeId,
@NonNull
TypeId bodyTypeId)
LibraryIteration.LibraryIterationExtension@Nullable
protected java.lang.Object updateAccumulator(@NonNull
IterationManager iterationManager)
AbstractIterationupdateAccumulator in class AbstractIterationiterationManager - the iteration context