Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Queue ¶
type Queue[TItem any] interface { collection.Collection[TItem] // Enqueue appends an item to the end of the queue Enqueue(TItem) // Dequeue removes and returns the first item in // the queue Dequeue() *TItem }
Queue provides the required methods of the queue data structure
Click to show internal directories.
Click to hide internal directories.