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: 646777 $ $Date: 2008-04-10 13:33:15 +0100 (Thu, 10 Apr 2008) $
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