predecessor.BST {Containers} | R Documentation |
This method returns the in-order predecessor of the target element.
before = aBST$predecessor(target)
predecessor
returns the in-order predecessor of the target element of the BST
, or NULL
if the target has no predecessor.
John Hughes