Java org.apache.commons.collections BoundedFifoBuffer fields, constructors, methods, implement or subclass

Example usage for Java org.apache.commons.collections BoundedFifoBuffer fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.commons.collections BoundedFifoBuffer.

The text is from its open source code.

Constructor

BoundedFifoBuffer(int size)
Constructs a new BoundedFifoBuffer big enough to hold the specified number of elements.
BoundedFifoBuffer(Collection coll)
Constructs a new BoundedFifoBuffer big enough to hold all of the elements in the specified collection.

Method

booleanadd(Object element)
Adds the given element to this buffer.
intsize()
Returns the number of elements stored in the buffer.
T[]toArray(T[] a)