|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.avalon.excalibur.collections.FixedSizeBuffer
The FixedSizeBuffer is a very efficient implementation of Buffer that does not alter the size of the buffer at runtime.
Constructor Summary | |
FixedSizeBuffer()
Deprecated. |
|
FixedSizeBuffer(int size)
Deprecated. |
Method Summary | |
void |
add(Object element)
Deprecated. Add an object into the buffer. |
boolean |
isEmpty()
Deprecated. Tests to see if the CircularBuffer is empty. |
Object |
remove()
Deprecated. Removes the next object from the buffer. |
int |
size()
Deprecated. Returns the number of elements stored in the buffer. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FixedSizeBuffer(int size)
public FixedSizeBuffer()
Method Detail |
public final int size()
Buffer
size
in interface Buffer
public final boolean isEmpty()
Buffer
isEmpty
in interface Buffer
public final void add(Object element)
Buffer
add
in interface Buffer
public final Object remove()
Buffer
remove
in interface Buffer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |