public class OneIteration2Java extends AbstractAccumulation2Java
| Modifier and Type | Field and Description |
|---|---|
static OneIteration2Java |
INSTANCE |
| Constructor and Description |
|---|
OneIteration2Java() |
| Modifier and Type | Method and Description |
|---|---|
void |
appendAccumulatorInit(JavaStream js,
CGBuiltInIterationCallExp cgIterationCallExp) |
void |
appendUpdate(JavaStream js,
CGBuiltInIterationCallExp cgIterationCallExp) |
CGTypeId |
getAccumulatorTypeId(CodeGenAnalyzer analyzer,
CGBuiltInIterationCallExp cgIterationCallExp) |
appendFinalValue, getAccumulator, getAccumulatorClassgetBody, getIterator@NonNull public static final OneIteration2Java INSTANCE
public void appendAccumulatorInit(@NonNull
JavaStream js,
@NonNull
CGBuiltInIterationCallExp cgIterationCallExp)
appendAccumulatorInit in interface Iteration2JavaappendAccumulatorInit in class AbstractAccumulation2Javapublic void appendUpdate(@NonNull
JavaStream js,
@NonNull
CGBuiltInIterationCallExp cgIterationCallExp)
@Nullable public CGTypeId getAccumulatorTypeId(@NonNull CodeGenAnalyzer analyzer, @NonNull CGBuiltInIterationCallExp cgIterationCallExp)
getAccumulatorTypeId in interface IterationHelpergetAccumulatorTypeId in class AbstractAccumulation2Java