Documentation ¶
Index ¶
- type SkipList
- func (list *SkipList) Back() *SkipListNode
- func (list *SkipList) Front() *SkipListNode
- func (list *SkipList) Get(key string) *SkipListItem
- func (list *SkipList) Length() int
- func (list *SkipList) MaxLevel() int
- func (list *SkipList) Remove(key string)
- func (list *SkipList) Set(key string, value []byte)
- func (list *SkipList) Size() uint64
- type SkipListItem
- type SkipListNode
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SkipList ¶
type SkipList struct {
// contains filtered or unexported fields
}
func (*SkipList) Back ¶
func (list *SkipList) Back() *SkipListNode
func (*SkipList) Front ¶
func (list *SkipList) Front() *SkipListNode
func (*SkipList) Get ¶
func (list *SkipList) Get(key string) *SkipListItem
type SkipListItem ¶
type SkipListItem struct {
// contains filtered or unexported fields
}
func (*SkipListItem) Key ¶
func (item *SkipListItem) Key() string
func (*SkipListItem) Value ¶
func (item *SkipListItem) Value() []byte
type SkipListNode ¶
type SkipListNode struct {
// contains filtered or unexported fields
}
func (*SkipListNode) Key ¶
func (node *SkipListNode) Key() string
func (*SkipListNode) Next ¶
func (node *SkipListNode) Next() *SkipListNode
func (*SkipListNode) Prev ¶
func (node *SkipListNode) Prev() *SkipListNode
func (*SkipListNode) Value ¶
func (node *SkipListNode) Value() []byte
Click to show internal directories.
Click to hide internal directories.