Class SizedQueue

A SizedQueue of type T.

Inherits from

  • Object (base class)

Constructors

Name Description
this

Fields

Name Type Description
data DList!T
maxSize size_t Maximum size of the queue
size size_t Current size of the queu

Properties

Name Type Description
array [get] T[] Raw queue array (ordered properly)
empty [get] bool True if the queue is empty
full [get] bool True if the queue is full

Methods

Name Description
clear Clear the entire queue
peakBack Peaks at the last item in the queue.
peakFront Peaks at the first item in the queue.
pop Pops a single item off the front of the queue. Throws an exception if the
push Push an item to the back of the queue. Returns false if the queue is full.
push Push multiple items to the back of the queue. Returns false if the queue is