CircularFifoQueue
constructor()
Constructor that creates a queue with the default size of 32.
Constructor that creates a queue from the specified collection. The collection size also sets the queue size.
Parameters
coll
the collection to copy into the queue, may not be null
Throws
if the collection is null
Constructor that creates a queue with the specified size.
Parameters
size
the size of the queue (cannot be changed)
Throws
if the size is <1