Documentation ¶
Index ¶
- type ConcurrentHashMap
- type Key
- type Map
- type MapIterator
- type RedBlackTreeMap
- func (t *RedBlackTreeMap) Contains(key Key) (ok bool)
- func (t *RedBlackTreeMap) Get(key Key) (value Value, ok bool)
- func (t *RedBlackTreeMap) Iterator() MapIterator
- func (t *RedBlackTreeMap) Len() int
- func (t *RedBlackTreeMap) Put(key Key, value Value) (err error)
- func (t *RedBlackTreeMap) Remove(key Key) (value Value, ok bool)
- type SkipListIterator
- type SkipListMap
- func (m *SkipListMap) Contains(key Key) bool
- func (m *SkipListMap) Get(key Key) (value Value, ok bool)
- func (m *SkipListMap) Iterator() MapIterator
- func (m *SkipListMap) Len() int
- func (m *SkipListMap) Put(key Key, value Value) (err error)
- func (m *SkipListMap) Remove(key Key) (value Value, ok bool)
- type ThreadsafeMap
- func (m *ThreadsafeMap) Contains(key Key) (ok bool)
- func (m *ThreadsafeMap) Get(key Key) (value Value, ok bool)
- func (m *ThreadsafeMap) Iterator() MapIterator
- func (m *ThreadsafeMap) Len() int
- func (m *ThreadsafeMap) Put(key Key, value Value) (err error)
- func (m *ThreadsafeMap) Remove(key Key) (value Value, ok bool)
- type ThreadsafeMapIterator
- type Value
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConcurrentHashMap ¶
type ConcurrentHashMap struct { }
type Map ¶
type Map interface { Get(key Key) (value Value, ok bool) Put(key Key, value Value) (err error) Remove(key Key) (value Value, ok bool) Contains(key Key) (ok bool) Iterator() MapIterator Len() int }
func NewConcurrentHashMap ¶
func NewConcurrentHashMap() Map
func NewRedBlackTreeMap ¶
func NewRedBlackTreeMap() Map
func NewSkipListMap ¶
func NewSkipListMap() Map
func NewThreadsafeMap ¶
func NewThreadsafeMap() Map
type MapIterator ¶
type RedBlackTreeMap ¶
type RedBlackTreeMap struct { }
func (*RedBlackTreeMap) Contains ¶
func (t *RedBlackTreeMap) Contains(key Key) (ok bool)
func (*RedBlackTreeMap) Iterator ¶
func (t *RedBlackTreeMap) Iterator() MapIterator
func (*RedBlackTreeMap) Len ¶
func (t *RedBlackTreeMap) Len() int
type SkipListIterator ¶
type SkipListIterator struct {
// contains filtered or unexported fields
}
func (*SkipListIterator) Current ¶
func (i *SkipListIterator) Current() (key Key, value Value)
func (*SkipListIterator) Next ¶
func (i *SkipListIterator) Next() bool
type SkipListMap ¶
type SkipListMap struct {
// contains filtered or unexported fields
}
func (*SkipListMap) Contains ¶
func (m *SkipListMap) Contains(key Key) bool
func (*SkipListMap) Iterator ¶
func (m *SkipListMap) Iterator() MapIterator
func (*SkipListMap) Len ¶
func (m *SkipListMap) Len() int
type ThreadsafeMap ¶
func (*ThreadsafeMap) Contains ¶
func (m *ThreadsafeMap) Contains(key Key) (ok bool)
func (*ThreadsafeMap) Iterator ¶
func (m *ThreadsafeMap) Iterator() MapIterator
func (*ThreadsafeMap) Len ¶
func (m *ThreadsafeMap) Len() int
type ThreadsafeMapIterator ¶
type ThreadsafeMapIterator struct {
// contains filtered or unexported fields
}
func (*ThreadsafeMapIterator) Current ¶
func (i *ThreadsafeMapIterator) Current() (Key, Value)
func (*ThreadsafeMapIterator) Next ¶
func (i *ThreadsafeMapIterator) Next() bool
Click to show internal directories.
Click to hide internal directories.