Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type LinkedList ¶
type LinkedList struct {
// contains filtered or unexported fields
}
func NewLinkedList ¶
func NewLinkedList() *LinkedList
func (LinkedList) Length ¶
func (this LinkedList) Length() uint
func (*LinkedList) PushBack ¶
func (this *LinkedList) PushBack(node Node) *Node
type Node ¶
type Node struct {
// contains filtered or unexported fields
}
定义节点
func (*Node) InsertHead ¶
type Timer ¶
type Timer struct { TimerMap map[string]*Node //保存待执行的计时器,方便按链表节点指针地址直接删除定时器 // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.