import { Queue } from "https://deno.land/x/easyts@0.1.3/container/queue.ts";
A queue implemented using fixed-length arrays
Properties
private
a_: Array<T>Methods
clear(callback?: DeleteCallback<T>)
clear the queue
clone(callback?: CloneCallback<T>): Queue<T>
Create a full copy of the container
popBack(callback?: DeleteCallback<T>): ReturnValue<T>
If the queue is not empty delete the element at the back
popBackRaw(callback?: DeleteCallback<T>): ReturnValueRaw<T>
If the queue is not empty delete the element at the back
popFront(callback?: DeleteCallback<T>): ReturnValue<T>
If the queue is not empty delete the element at the front
popFrontRaw(callback?: DeleteCallback<T>): ReturnValueRaw<T>
If the queue is not empty delete the element at the front
pushList(vals: Iterable<T>, callback?: CloneCallback<T>)
push a copy of another container of queue.