|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.collections.collection.AbstractCollectionDecorator
org.apache.commons.collections.buffer.AbstractBufferDecorator
public abstract class AbstractBufferDecorator
Decorates another Buffer to provide additional behaviour.
Methods are forwarded directly to the decorated buffer.
| Field Summary |
|---|
| Fields inherited from class org.apache.commons.collections.collection.AbstractCollectionDecorator |
|---|
collection |
| Constructor Summary | |
|---|---|
protected |
AbstractBufferDecorator()
Constructor only used in deserialization, do not use otherwise. |
protected |
AbstractBufferDecorator(Buffer buffer)
Constructor that wraps (not copies). |
| Method Summary | |
|---|---|
java.lang.Object |
get()
Gets the next object from the buffer without removing it. |
protected Buffer |
getBuffer()
Gets the buffer being decorated. |
java.lang.Object |
remove()
Gets and removes the next object from the buffer. |
| Methods inherited from class org.apache.commons.collections.collection.AbstractCollectionDecorator |
|---|
add, addAll, clear, contains, containsAll, equals, getCollection, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.Collection |
|---|
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray |
| Constructor Detail |
|---|
protected AbstractBufferDecorator()
protected AbstractBufferDecorator(Buffer buffer)
buffer - the buffer to decorate, must not be null
java.lang.IllegalArgumentException - if list is null| Method Detail |
|---|
protected Buffer getBuffer()
public java.lang.Object get()
Buffer
get in interface Bufferpublic java.lang.Object remove()
Buffer
remove in interface Buffer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||