class Hamster::SortedSet::PlainAVLNode::Empty
@private
Public Class Methods
new()
click to toggle source
# File lib/hamster/sorted_set.rb, line 1438 def initialize; end
Public Instance Methods
bulk_insert(items)
click to toggle source
# File lib/hamster/sorted_set.rb, line 1443 def bulk_insert(items) items = items.to_a if !items.is_a?(Array) PlainAVLNode.from_items(items.sort) end
insert(item)
click to toggle source
# File lib/hamster/sorted_set.rb, line 1440 def insert(item) PlainAVLNode.new(item, self, self) end
natural_order?()
click to toggle source
# File lib/hamster/sorted_set.rb, line 1439 def natural_order?; true; end