Documentation ¶
Index ¶
- func UnitTest_Queue(max int32, pushSleep, popSleep time.Duration)
- type Chan
- type ChanListener
- type Hash
- func (owner *Hash) Add(key interface{}, value interface{})
- func (owner *Hash) Del(key interface{})
- func (owner *Hash) ForRange(f func(key interface{}, value interface{}))
- func (owner *Hash) ForRangeWithBreak(f func(key interface{}, value interface{}) bool)
- func (owner *Hash) Get(key interface{}) interface{}
- func (owner *Hash) Len() int
- func (owner *Hash) Set(key interface{}, value interface{})
- type List
- func (this *List) Del(index uint32) (interface{}, error)
- func (this *List) ForRange(f func(index int32, value interface{}))
- func (this *List) Get(index uint32) (interface{}, error)
- func (this *List) Insert(index uint32, element interface{}) error
- func (this *List) Len() int
- func (this *List) PushBack(element interface{}) error
- func (this *List) PushFront(element interface{}) error
- func (this *List) String() string
- type Queue
- type Stack
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UnitTest_Queue ¶
Types ¶
type Chan ¶
func NewChan ¶
func NewChan(count int32, listener ChanListener) *Chan
NewChan create and open channel.
type ChanListener ¶
type ChanListener func(interface{})
type Hash ¶
type Hash struct {
// contains filtered or unexported fields
}
Hash TODO.
func (*Hash) ForRange ¶
func (owner *Hash) ForRange(f func(key interface{}, value interface{}))
ForRange TODO.
func (*Hash) ForRangeWithBreak ¶
ForRangeWithBreak TODO.
type List ¶
type List struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.