|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectiterator.pnodeSplayNode
An element in the binary tree. including pointers to the children, the parent in addition to the item.
Field Summary | |
static pnodeSplayNode |
dummy
a static dummy node for use in some methods |
pnode |
item
a reference to the element in the node |
pnodeSplayNode |
lt
the left child pointer |
pnodeSplayNode |
par
the parent pointer |
pnodeSplayNode |
rt
the right child pointer |
Constructor Summary | |
pnodeSplayNode(pnode h)
class constructor, sets all pointers to null . |
|
pnodeSplayNode(pnode h,
pnodeSplayNode l,
pnodeSplayNode r)
class constructor, sets all pointers. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public pnode item
public pnodeSplayNode lt
public pnodeSplayNode rt
public pnodeSplayNode par
public static pnodeSplayNode dummy
Constructor Detail |
public pnodeSplayNode(pnode h)
null
.
h
- the element in this nodepublic pnodeSplayNode(pnode h, pnodeSplayNode l, pnodeSplayNode r)
h
- the element in this nodel
- left child pointerr
- right child pointer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |