Java org.apache.commons.collections4.queue CircularFifoQueue fields, constructors, methods, implement or subclass

Example usage for Java org.apache.commons.collections4.queue CircularFifoQueue fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.commons.collections4.queue CircularFifoQueue.

The text is from its open source code.

Constructor

CircularFifoQueue(final int size)
Constructor that creates a queue with the specified size.
CircularFifoQueue(final Collection coll)
Constructor that creates a queue from the specified collection.
CircularFifoQueue()
Constructor that creates a queue with the default size of 32.

Method

booleanadd(final E element)
Adds the given element to this queue.
booleanaddAll(Collection c)
Adds all of the elements in the specified collection to this collection (optional operation).
Eget(final int index)
Returns the element at the specified position in this queue.
booleanisEmpty()
Returns true if this queue is empty; false otherwise.
intsize()
Returns the number of elements stored in the queue.
StringtoString()
Returns a string representation of the object.