Documentation ¶
Overview ¶
Packaage queue contains a basic queue of ints.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type T ¶
type T struct { D []int // contains filtered or unexported fields }
T represets a queue (FIFO) of ints.
func New ¶
New creates a new queue with a capacity hint which can be used to reduce re-allocations and copying.
Click to show internal directories.
Click to hide internal directories.