Documentation ¶
Index ¶
- type BSTMap
- func (b *BSTMap) Add(key interface{}, val interface{})
- func (b *BSTMap) Contains(key interface{}) bool
- func (b *BSTMap) Get(key interface{}) interface{}
- func (b *BSTMap) IsEmpty() bool
- func (b *BSTMap) Remove(key interface{}) interface{}
- func (b *BSTMap) RemoveMin() *Node
- func (b *BSTMap) Set(key interface{}, val interface{})
- func (b *BSTMap) Size() int
- func (b *BSTMap) String() string
- type IMap
- type LinkedListMap
- func (l *LinkedListMap) Add(key interface{}, val interface{})
- func (l *LinkedListMap) Contains(key interface{}) bool
- func (l *LinkedListMap) Get(key interface{}) interface{}
- func (l *LinkedListMap) IsEmpty() bool
- func (l *LinkedListMap) Remove(key interface{}) interface{}
- func (l *LinkedListMap) Set(key interface{}, val interface{})
- func (l *LinkedListMap) Size() int
- type LinkedListNode
- type Node
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BSTMap ¶
type BSTMap struct {
// contains filtered or unexported fields
}
type LinkedListMap ¶
type LinkedListMap struct {
// contains filtered or unexported fields
}
func NewLinkedListMap ¶
func NewLinkedListMap() *LinkedListMap
func (*LinkedListMap) Add ¶
func (l *LinkedListMap) Add(key interface{}, val interface{})
func (*LinkedListMap) Contains ¶
func (l *LinkedListMap) Contains(key interface{}) bool
func (*LinkedListMap) Get ¶
func (l *LinkedListMap) Get(key interface{}) interface{}
func (*LinkedListMap) IsEmpty ¶
func (l *LinkedListMap) IsEmpty() bool
func (*LinkedListMap) Remove ¶
func (l *LinkedListMap) Remove(key interface{}) interface{}
func (*LinkedListMap) Set ¶
func (l *LinkedListMap) Set(key interface{}, val interface{})
func (*LinkedListMap) Size ¶
func (l *LinkedListMap) Size() int
type LinkedListNode ¶
type LinkedListNode struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.