public class AnyIteration2Java extends AbstractIteration2Java
| Modifier and Type | Field and Description |
|---|---|
static AnyIteration2Java |
INSTANCE |
| Constructor and Description |
|---|
AnyIteration2Java() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
appendFinalValue(JavaStream js,
CGBuiltInIterationCallExp cgIterationCallExp)
Append the code to assign the final value to the result.
|
boolean |
appendUpdate(JavaStream js,
CGBuiltInIterationCallExp cgIterationCallExp)
Append the code to update the accumulator
|
appendAccumulatorInit, getAccumulatorTypeIdpublic static final AnyIteration2Java INSTANCE
public boolean appendUpdate(JavaStream js, CGBuiltInIterationCallExp cgIterationCallExp)
Iteration2JavaReturns true if control flow continues to loop again, false if terminated by a throw.
public boolean appendFinalValue(JavaStream js, CGBuiltInIterationCallExp cgIterationCallExp)
Iteration2JavaReturns true if control flow continues into a break, false if terminated by a throw.
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.