Documentation ¶
Index ¶
- type ListQueue
- func (q ListQueue) End() *Node
- func (q ListQueue) Length() int
- func (q ListQueue) Peek() (node *Node)
- func (q *ListQueue) Pop() (node *Node)
- func (q *ListQueue) Push(data ...interface{}) *Node
- func (q *ListQueue) Remove(index int) (node *Node)
- func (q ListQueue) Start() *Node
- func (q ListQueue) String() string
- type Node
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ListQueue ¶
type ListQueue struct {
// contains filtered or unexported fields
}
ListQueue - It's a queue with linked lists dawg
func NewListQueue ¶
func NewListQueue(dataType interface{}) (q *ListQueue)
Click to show internal directories.
Click to hide internal directories.