Follow these steps to get the next symbol in the iterator:
- Add the existing it variable to the body
of the While true figure.
- Click the Java... icon
on the palette.The Select a Java Visual Snippet window
opens.
- In the Specify a type (? = any character, * = any String) field,
type java.util.Iterator.
- Click Iterator.
- Click java.util - WSInstallDir/runtimes/bi_v6_stub/java/jre/lib/core.jar.
- Click next().
- Click OK.
- Add the next activity to the canvas.
- Add an expression to the canvas with the label symbol.
- Connect the it figure to the next figure.
- Connect the next figure to the symbol figure.