Example usage for Java org.apache.commons.collections BoundedFifoBuffer fields, constructors, methods, implement or subclass
The text is from its open source code.
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. |
boolean | add(Object element) Adds the given element to this buffer. |
int | size() Returns the number of elements stored in the buffer. |
T[] | toArray(T[] a) |