Documentation
¶
Index ¶
- type DoubleList
- func (dl *DoubleList) Clear()
- func (dl *DoubleList) Delete(val interface{})
- func (dl *DoubleList) DeleteByCount(val interface{}, count int)
- func (dl *DoubleList) DeleteByIndex(val interface{}, index int)
- func (dl *DoubleList) GetValueList(val interface{}) []interface{}
- func (dl *DoubleList) LGet() (interface{}, bool)
- func (dl *DoubleList) LPop() (interface{}, bool)
- func (dl *DoubleList) LPut(val interface{})
- func (dl *DoubleList) LToArray() []interface{}
- func (dl *DoubleList) Len() int
- func (dl *DoubleList) RGet() (interface{}, bool)
- func (dl *DoubleList) RPop() (interface{}, bool)
- func (dl *DoubleList) RPut(val interface{})
- func (dl *DoubleList) RToArray() []interface{}
- type Map
- func (m *Map) Add(k interface{}, v interface{})
- func (m *Map) Get(k interface{}) interface{}
- func (m *Map) Has(k interface{}) bool
- func (m *Map) IsEmpty() bool
- func (m *Map) Items() map[interface{}]interface{}
- func (m *Map) Len() int
- func (m *Map) Remove(k interface{})
- func (m *Map) Set(k interface{}, v interface{}) bool
- type SafeList
- type SafeListNode
- type Set
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DoubleList ¶
type DoubleList struct {
// contains filtered or unexported fields
}
func NewDoubleList ¶
func NewDoubleList() *DoubleList
func (*DoubleList) Clear ¶
func (dl *DoubleList) Clear()
func (*DoubleList) Delete ¶
func (dl *DoubleList) Delete(val interface{})
func (*DoubleList) DeleteByCount ¶
func (dl *DoubleList) DeleteByCount(val interface{}, count int)
func (*DoubleList) DeleteByIndex ¶
func (dl *DoubleList) DeleteByIndex(val interface{}, index int)
func (*DoubleList) GetValueList ¶
func (dl *DoubleList) GetValueList(val interface{}) []interface{}
func (*DoubleList) LGet ¶
func (dl *DoubleList) LGet() (interface{}, bool)
func (*DoubleList) LPop ¶
func (dl *DoubleList) LPop() (interface{}, bool)
func (*DoubleList) LPut ¶
func (dl *DoubleList) LPut(val interface{})
func (*DoubleList) LToArray ¶
func (dl *DoubleList) LToArray() []interface{}
func (*DoubleList) Len ¶
func (dl *DoubleList) Len() int
func (*DoubleList) RGet ¶
func (dl *DoubleList) RGet() (interface{}, bool)
func (*DoubleList) RPop ¶
func (dl *DoubleList) RPop() (interface{}, bool)
func (*DoubleList) RPut ¶
func (dl *DoubleList) RPut(val interface{})
func (*DoubleList) RToArray ¶
func (dl *DoubleList) RToArray() []interface{}
type Map ¶
BeeMap is a map with lock
type SafeList ¶
type SafeList struct {
C chan bool
// contains filtered or unexported fields
}
SafeList 安全链表
type SafeListNode ¶
type SafeListNode struct {
// contains filtered or unexported fields
}
SafeListNode 节点
Click to show internal directories.
Click to hide internal directories.