Secure Global Desktop Administration Guide > Applets > getIteratorHasMoreElements (webtop script and webtop tray applets)
String getIteratorHasMoreElements(String iteratorHandle)
Returns "TRUE" if the iterator identified by the iterator handle contains more object names; otherwise, it returns "FALSE".
iteratorHandle is the handle to an iterator previously
created with one of the getIterator
methods.
This method can be used with either the webtop script applet or the webtop tray applet.
while (applet.getIteratorHasMoreElements(iterator) == "TRUE") { current = applet.getNextIteratorElement(iterator); }
Iterates through all elements, checking each time if any more elements remain.
Copyright © 1997-2006 Sun Microsystems, Inc. All rights reserved.