Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ILinkedList ¶
type ILinkedList interface {
PushFront(values ...interface{})
PushBack(values ...interface{})
PopFront() (result interface{}, found bool)
PopBack() (result interface{}, found bool)
}
ILinkedList 通用接口
type IList ¶
type IList interface {
Push(value interface{})
Contains(values ...interface{}) bool
Index(idx int) (interface{}, bool)
Remove(idx int) (result interface{}, isfound bool)
Values() []interface{}
Traversal(every func(interface{}) bool)
String() string
Clear()
Empty() bool
Size() uint
}
IList 通用接口
Click to show internal directories.
Click to hide internal directories.