Versions in this module Expand all Collapse all v3 v3.0.1 Aug 8, 2022 Changes in this version + const LowerThresholdMode + const UpperThresholdMode + type Element struct + func (e *Element) Key() interface{} + func (e *Element) Value() interface{} + type Iterator struct + func NewIterator(startingElement *Element) *Iterator + func (i *Iterator) HasNext() bool + func (i *Iterator) HasPrev() bool + func (i *Iterator) Next() *Element + func (i *Iterator) Prev() *Element + func (i *Iterator) Reset() + func (i *Iterator) State() IteratorState + type IteratorState int + const InitialState + const IterationStartedState + const LeftEndReachedState + const RightEndReachedState + type Mode bool + type ThresholdMap struct + func New(mode Mode, optionalComparator ...genericcomparator.Type) *ThresholdMap + func (t *ThresholdMap) Ceiling(key interface{}) (floorKey interface{}, floorValue interface{}, exists bool) + func (t *ThresholdMap) Clear() + func (t *ThresholdMap) Delete(key interface{}) (element *Element, success bool) + func (t *ThresholdMap) DeleteElement(element *Element) + func (t *ThresholdMap) Empty() bool + func (t *ThresholdMap) Floor(key interface{}) (floorKey interface{}, floorValue interface{}, exists bool) + func (t *ThresholdMap) ForEach(iterator func(node *Element) bool) + func (t *ThresholdMap) Get(key interface{}) (value interface{}, exists bool) + func (t *ThresholdMap) GetElement(key interface{}) *Element + func (t *ThresholdMap) Iterator(optionalStartingNode ...*Element) *Iterator + func (t *ThresholdMap) Keys() []interface{} + func (t *ThresholdMap) MaxElement() *Element + func (t *ThresholdMap) MinElement() *Element + func (t *ThresholdMap) Set(key interface{}, value interface{}) + func (t *ThresholdMap) Size() int + func (t *ThresholdMap) Values() []interface{} Other modules containing this package github.com/finderAUT/hive.go/v2