Class Bst-Node

Part of:

class red-black-node, package metabang.cl-containers

Direct Subclass

red-black-node

Slot

elementInitargs:element, value; Accessors:value, element.
left-childInitargs:left-child.
parentInitargs:parent; Reader:parent.
right-childInitargs:right-child.
treeInitargs:tree; Accessors:tree.

Direct Method

bst-node-is-left-childIs this node the left child of its parent?
bst-node-is-right-childIs this node the right child of its parent?
bst-node-replace-childReplace the child of this node.
bst-node-set-left-childSet new-left as the left child of node
bst-node-set-right-childSet new-right as the right child of node
delete-item
delete-node
find-itemFind item in container using the container's test method for comparisons. The test method must ta...
first-element
insert-itemAdds item to the container
last-element
node-empty-p
predecessor
right-most-childWalk down the right side of the tree until a leaf node is found, then return that node
setffirst-element
setflast-element
sizeReturns the number of items currently in the container.
successor
walk-tree
walk-tree-nodes

Other Method

search-for-node
search-for-node*