|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object | +--Opus5.AbstractTree.TreeEnumeration
Implements an enumeration that enumerates the keys in this tree.
Enumeration| Field Summary | |
protected Stack |
stack
Used to keep track of the nodes to be enumerated. |
| Fields inherited from interface Opus5.Enumeration |
copyright |
| Constructor Summary | |
AbstractTree.TreeEnumeration()
Constructs an TreeEnumeration that enumerates the keys
in this tree. |
|
| Method Summary | |
boolean |
hasMoreElements()
Tests whether there are still more keys to be enumerated. |
java.lang.Object |
nextElement()
Returns the next key to be enumerated. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected Stack stack
| Constructor Detail |
public AbstractTree.TreeEnumeration()
TreeEnumeration that enumerates the keys
in this tree.
Pushes the root node of the tree onto the stack.| Method Detail |
public boolean hasMoreElements()
hasMoreElements in interface Enumerationpublic java.lang.Object nextElement()
nextElement in interface Enumeration
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||