Java org.apache.commons.collections15.buffer CircularFifoBuffer fields, constructors, methods, implement or subclass

Example usage for Java org.apache.commons.collections15.buffer CircularFifoBuffer fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.commons.collections15.buffer CircularFifoBuffer.

The text is from its open source code.

Constructor

CircularFifoBuffer(int size)
Constructor that creates a buffer with the specified size.
CircularFifoBuffer(Collection coll)
Constructor that creates a buffer from the specified collection.

Method

booleanadd(E element)
If the buffer is full, the least recently added element is discarded so that a new element can be inserted.