Class: TreeElement

TreeElement(key, valueopt)

TreeElement Class Represents an element of the BST

Constructor

new TreeElement(key, valueopt)

Parameters:
Name Type Attributes Default Description
key number Unique key for the element
value any <optional>
null Value of the element, null if not provided
Source: