class Algorithmable::DataStructs::Heap::Max

Public Class Methods

new(collection = []) click to toggle source
# File lib/algorithmable/data_structs/heap/max.rb, line 5
def initialize(collection = [])
  super(collection) do |this, other|
    (this <=> other) < 0
  end
end