class Algorithmable::Searches::BinarySearchTree::Node

Attributes

key[RW]
left[RW]
right[RW]
size[RW]
value[RW]

Public Class Methods

new(key = nil, value = nil, size = 0) click to toggle source
# File lib/algorithmable/search/binary_search_tree.rb, line 280
def initialize(key = nil, value = nil, size = 0)
  @key = key
  @value = value
  @left = nil
  @right = nil
  @size = size
end