public class CollectIteration2Java extends AbstractAccumulation2Java
Modifier and Type | Field and Description |
---|---|
static CollectIteration2Java |
INSTANCE |
Constructor and Description |
---|
CollectIteration2Java() |
Modifier and Type | Method and Description |
---|---|
boolean |
appendUpdate(JavaStream js,
CGBuiltInIterationCallExp cgIterationCallExp)
Append the code to update the accumulator
|
appendAccumulatorInit, appendFinalValue, getAccumulator, getAccumulatorClass, getAccumulatorTypeId
getBody, getIterator
@NonNull public static final CollectIteration2Java INSTANCE
public boolean appendUpdate(@NonNull JavaStream js, @NonNull CGBuiltInIterationCallExp cgIterationCallExp)
Iteration2Java
Returns true if control flow continues to loop again, false if terminated by a throw.