public interface Buffer
extends java.util.Collection
Note that the removal order is not necessarily the same as the iteration
order. A Buffer
implementation may have equivalent removal
and iteration orders, but this is not required.
This interface does not specify any behavior for
Object.equals(Object)
and Object.hashCode()
methods. It
is therefore possible for a Buffer
implementation to also
also implement List
, Set
or
Bag
.
java.lang.Object get()
BufferUnderflowException
- if the buffer is emptyjava.lang.Object remove()
BufferUnderflowException
- if the buffer is already emptyCopyright © 2001-2004 Apache Software Foundation. Documenation generated May 18 2012.