Documentation
¶
Index ¶
- type LinkedMap
- func (lm *LinkedMap) Capacity() int
- func (lm *LinkedMap) Clear()
- func (lm *LinkedMap) Empty() bool
- func (lm *LinkedMap) First() (interface{}, interface{})
- func (lm *LinkedMap) FirstElement() *list.Element
- func (lm *LinkedMap) Full() bool
- func (lm *LinkedMap) Get(first interface{}) (interface{}, bool)
- func (lm *LinkedMap) Has(key interface{}) bool
- func (lm *LinkedMap) Last() (interface{}, interface{})
- func (lm *LinkedMap) LastElement() *list.Element
- func (lm *LinkedMap) PushBack(first interface{}, second interface{})
- func (lm *LinkedMap) PushFront(first interface{}, second interface{})
- func (lm *LinkedMap) Remove(first interface{}) bool
- func (lm *LinkedMap) SetCapacity(capacity int)
- func (lm *LinkedMap) Size() int
- func (lm *LinkedMap) SortList(cmp func(left interface{}, right interface{}) bool)
- type Pair
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LinkedMap ¶
type LinkedMap struct {
// contains filtered or unexported fields
}
func NewLinkedMap ¶
func (*LinkedMap) FirstElement ¶
func (*LinkedMap) LastElement ¶
func (*LinkedMap) SetCapacity ¶
Click to show internal directories.
Click to hide internal directories.