Example usage for Java org.apache.commons.collections4.queue CircularFifoQueue fields, constructors, methods, implement or subclass
The text is from its open source code.
CircularFifoQueue(final int size) Constructor that creates a queue with the specified size. | |
CircularFifoQueue(final Collection extends E> coll) Constructor that creates a queue from the specified collection. | |
CircularFifoQueue() Constructor that creates a queue with the default size of 32. |
boolean | add(final E element) Adds the given element to this queue. |
boolean | addAll(Collection extends E> c) Adds all of the elements in the specified collection to this collection (optional operation). |
E | get(final int index) Returns the element at the specified position in this queue. |
boolean | isEmpty() Returns true if this queue is empty; false otherwise. |
int | size() Returns the number of elements stored in the queue. |
String | toString() Returns a string representation of the object. |