package
Version:
v1.2.0
Opens a new window with list of versions in this module.
Published: Dec 30, 2020
License: MIT
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Queue a queue
Empty the queue is empty or not
func (q *Queue) Front() interface{}
Front return the front data of the queue
func (q *Queue) Pop() interface{}
Pop get the front data of the queue
func (q *Queue) Push(data interface{})
Push add data to the front of the queue
func (q *Queue) Rear() interface{}
Rear return the rear data of the queue
Size return the queue size
Source Files
¶
Click to show internal directories.
Click to hide internal directories.