try {  Iterator i = figs.iterator();  while (i.hasNext()) { Fig f = (Fig) i.next(); if (f instanceof FigModuleNode) { vf = (FigModuleNode) f; saveFigNode(vf); } else { } } } catch (IOException ioe) { ioe.printStackTrace(); }
Iterator i = figs.iterator();  while (i.hasNext()) { Fig f = (Fig) i.next(); if (f instanceof FigModuleNode) { vf = (FigModuleNode) f; saveFigNode(vf); } else { } }
    private void saveFigs(java.util.List figs) {        FigModuleNode vf;        try {            // For each Editor Fig, write the information            Iterator i = figs.iterator();            // In the first loop, print out all the EditorFigNodes            while (i.hasNext()) {                Fig f = (Fig) i.next();                if (f instanceof FigModuleNode) {                    vf = (FigModuleNode) f;                    saveFigNode(vf);                } else {                }            }        } catch (IOException ioe) {            ioe.printStackTrace();        }    }