QueueItems
Type Parameters
• T
Properties
length
length:
number
offset
offset:
number
queue
queue:
T
[]
Methods
clear()
clear():
void
Returns
void
dequeue()
dequeue():
undefined
|T
Returns
undefined
| T
enqueue()
enqueue(
item
):void
Parameters
• item: T
Returns
void
enqueueArray()
enqueueArray(
items
):void
Parameters
• items: T
[]
Returns
void
get()
get():
T
[]
Returns
T
[]
isEmpty()
isEmpty():
boolean
Returns
boolean
peek()
peek():
undefined
|T
Returns
undefined
| T
remove()
remove(
item
):void
Parameters
• item: T
Returns
void