|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectbyucc.jhdl.base.list.TreeListEnumeration
This class allows public access to list traversals.
| Constructor Summary | |
TreeListEnumeration(TreeList tl)
Initializer |
|
| Method Summary | |
boolean |
hasMoreElements()
Returns true if more elements remain, useful as a while loop condition |
java.lang.Object |
nextElement()
Returns the next element in the enumeration, advancing the enumeration |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public TreeListEnumeration(TreeList tl)
tl - a TreeList that this enumeration will cover| Method Detail |
public boolean hasMoreElements()
hasMoreElements in interface java.util.Enumerationpublic java.lang.Object nextElement()
nextElement in interface java.util.Enumerationjava.util.NoSuchElementException - if already at end
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||