public class IterateIteration2Java extends AbstractAccumulation2Java
Modifier and Type | Field and Description |
---|---|
static IterateIteration2Java |
INSTANCE |
Constructor and Description |
---|
IterateIteration2Java() |
Modifier and Type | Method and Description |
---|---|
void |
appendAccumulatorInit(JavaStream js,
CGBuiltInIterationCallExp cgIterationCallExp) |
boolean |
appendUpdate(JavaStream js,
CGBuiltInIterationCallExp cgIterationCallExp)
Append the code to update the accumulator
|
appendFinalValue, getAccumulatorTypeId
public static final IterateIteration2Java INSTANCE
public void appendAccumulatorInit(JavaStream js, CGBuiltInIterationCallExp cgIterationCallExp)
appendAccumulatorInit
in interface Iteration2Java
appendAccumulatorInit
in class AbstractAccumulation2Java
public boolean appendUpdate(JavaStream js, CGBuiltInIterationCallExp cgIterationCallExp)
Iteration2Java
Returns true if control flow continues to loop again, false if terminated by a throw.
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.