Versions in this module Expand all Collapse all v1 v1.2.0 Jun 27, 2016 Changes in this version type Iterator + func (iterator *Iterator) Begin() + func (iterator *Iterator) End() + func (iterator *Iterator) First() bool + func (iterator *Iterator) Last() bool v1.1.0 Jun 25, 2016 Changes in this version type Iterator + func (iterator *Iterator) Prev() bool v1.0.0 Jun 24, 2016 Changes in this version + type Heap struct + Comparator utils.Comparator + func NewWith(comparator utils.Comparator) *Heap + func NewWithIntComparator() *Heap + func NewWithStringComparator() *Heap + func (heap *Heap) Clear() + func (heap *Heap) Empty() bool + func (heap *Heap) Iterator() Iterator + func (heap *Heap) Peek() (value interface{}, ok bool) + func (heap *Heap) Pop() (value interface{}, ok bool) + func (heap *Heap) Push(value interface{}) + func (heap *Heap) Size() int + func (heap *Heap) String() string + func (heap *Heap) Values() []interface{} + type Iterator struct + func (iterator *Iterator) Index() int + func (iterator *Iterator) Next() bool + func (iterator *Iterator) Value() interface{}