java.lang.Object | +--org.apache.commons.collections.collection.AbstractCollectionDecorator | +--org.apache.commons.collections.buffer.AbstractBufferDecorator | +--org.apache.commons.collections.buffer.UnmodifiableBufferAll Implemented Interfaces:
boolean | add(Object object) |
boolean | addAll(Collection coll) |
void | clear() |
static Buffer | Factory method to create an unmodifiable buffer. |
Iterator | iterator() |
boolean | remove(Object object) |
Object | remove() |
boolean | removeAll(Collection coll) |
boolean | retainAll(Collection coll) |
public boolean add(Object object)
public boolean addAll(Collection coll)
public void clear()
public static Buffer decorate(Buffer buffer)
- if buffer is nullpublic Iterator iterator()
public Object remove()
public boolean remove(Object object)
public boolean removeAll(Collection coll)
public boolean retainAll(Collection coll)
Buffer
to ensure it can't be altered.