Built-In Object Type: Queue

Inherits All
(MORE DESCRIPTION TO COME.)
Methods:
NameArgumentsDescription
deq
  Removes and returns the head of the queue or null if the queue is empty.
empty
  Returns true if this queue is empty.
enq
value
Adds value at the end of the queue or null if the queue is empty.
get
index
Returns the element at index of the queue, or null if not out bounds.
head
  Returns the head of the queue, or null if the queue is empty.
size
  Returns the size of the queue.
tail
  Returns the tail of the queue, or null if the queue is empty.