package
Version:
v0.1.3-alpha
Opens a new window with list of versions in this module.
Published: Dec 4, 2018
License: GPL-3.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Item interface {
ID() interface{}
}
Item represents a queue item
Queue wraps lane.Deque which is a head-tail
linked list. It maintains an index of items
contained in the queue
New creates an instance of Queue
Append appends an item to the queue
Empty checks whether the queue is empty
Has checks whether a item exist in the queue
Head get an item from the head of the queue
Size returns the size of the queue
Source Files
¶
Click to show internal directories.
Click to hide internal directories.