org.apache.commons.collections.buffer
public abstract class AbstractBufferDecorator extends AbstractCollectionDecorator implements Buffer
Buffer
to provide additional behaviour.
Methods are forwarded directly to the decorated buffer.
Since: Commons Collections 3.0
Version: $Revision: 155406 $ $Date: 2005-02-26 12:55:26 +0000 (Sat, 26 Feb 2005) $
Constructor Summary | |
---|---|
protected | AbstractBufferDecorator()
Constructor only used in deserialization, do not use otherwise. |
protected | AbstractBufferDecorator(Buffer buffer)
Constructor that wraps (not copies).
|
Method Summary | |
---|---|
Object | get() |
protected Buffer | getBuffer()
Gets the buffer being decorated.
|
Object | remove() |
Since: Commons Collections 3.1
Parameters: buffer the buffer to decorate, must not be null
Throws: IllegalArgumentException if list is null
Returns: the decorated buffer