org.apache.commons.collections.buffer
Class AbstractBufferDecorator
- Buffer, Collection
public abstract class AbstractBufferDecorator
Decorates another
Buffer
to provide additional behaviour.
Methods are forwarded directly to the decorated buffer.
$Revision: 1.4 $ $Date: 2004/06/02 21:53:02 $
add , addAll , clear , contains , containsAll , equals , getCollection , hashCode , isEmpty , iterator , remove , removeAll , retainAll , size , toArray , toArray , toString |
AbstractBufferDecorator
protected AbstractBufferDecorator()
Constructor only used in deserialization, do not use otherwise.
AbstractBufferDecorator
protected AbstractBufferDecorator(Buffer buffer)
Constructor that wraps (not copies).
buffer
- the buffer to decorate, must not be null
get
public Object get()
- get in interface Buffer
getBuffer
protected Buffer getBuffer()
Gets the buffer being decorated.
Copyright © 2001-2006 Apache Software Foundation. All Rights Reserved.