class Immutable::SortedSet::PlainAVLNode::Empty

@private

Public Class Methods

new() click to toggle source
# File lib/immutable/sorted_set.rb, line 1479
def initialize;           end

Public Instance Methods

bulk_insert(items) click to toggle source
# File lib/immutable/sorted_set.rb, line 1484
def bulk_insert(items)
  items = items.to_a if !items.is_a?(Array)
  PlainAVLNode.from_items(items.uniq.sort!)
end
insert(item) click to toggle source
# File lib/immutable/sorted_set.rb, line 1481
def insert(item)
  PlainAVLNode.new(item, self, self)
end
natural_order?() click to toggle source
# File lib/immutable/sorted_set.rb, line 1480
def natural_order?; true; end