|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbyucc.jhdl.base.list.TreeList
byucc.jhdl.base.NodeList
This keeps a list of nodes. It describes a modified tree structure: each Node keeps track of its sibling and first child, and current refers to the current child. Anyone can read the children of a node, similar to regular LinkedLists or Enumerations.
Constructor Summary | |
NodeList()
|
Method Summary | |
Cell |
getCell()
Returns the node pointed to by the current pointer as a Cell, if possible. |
Node |
getNode()
Returns the node pointed to by the current pointer. |
Methods inherited from class byucc.jhdl.base.list.TreeList |
append, atEnd, delete, elementCount, elements, empty, getElt, init, inList, inList, insert, next, prev, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public NodeList()
Method Detail |
public final Node getNode()
public final Cell getCell()
java.lang.ClassCastException
- if the current pointer is not a Cell
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |