Getting the next symbol in the iterator

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

Feedback
(C) Copyright IBM Corporation 2005. All Rights Reserved.