java.lang.Object | ||
↳ | org.apache.commons.collections.collection.AbstractCollectionDecorator | |
↳ | org.apache.commons.collections.buffer.AbstractBufferDecorator |
Known Direct Subclasses |
Decorates another Buffer
to provide additional behaviour.
Methods are forwarded directly to the decorated buffer.
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.apache.commons.collections.collection.AbstractCollectionDecorator
|
Protected Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructor only used in deserialization, do not use otherwise.
| |||||||||||
Constructor that wraps (not copies).
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Gets the next object from the buffer without removing it.
| |||||||||||
Gets and removes the next object from the buffer.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Gets the buffer being decorated.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.apache.commons.collections.collection.AbstractCollectionDecorator
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
java.lang.Iterable
| |||||||||||
From interface
java.util.Collection
| |||||||||||
From interface
org.apache.commons.collections.Buffer
|
Constructor only used in deserialization, do not use otherwise.
Constructor that wraps (not copies).
buffer | the buffer to decorate, must not be null |
---|
IllegalArgumentException | if list is null |
---|
Gets the next object from the buffer without removing it.
Gets and removes the next object from the buffer.