java.lang.Object | |||
↳ | org.apache.commons.collections.collection.AbstractCollectionDecorator | ||
↳ | org.apache.commons.collections.buffer.AbstractBufferDecorator | ||
↳ | org.apache.commons.collections.buffer.UnmodifiableBuffer |
Decorates another Buffer
to ensure it can't be altered.
This class is Serializable from Commons Collections 3.1.
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.apache.commons.collections.collection.AbstractCollectionDecorator
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Factory method to create an unmodifiable buffer.
| |||||||||||
Gets and removes the next object from the buffer.
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.apache.commons.collections.buffer.AbstractBufferDecorator
| |||||||||||
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
|
Factory method to create an unmodifiable buffer.
If the buffer passed in is already unmodifiable, it is returned.
buffer | the buffer to decorate, must not be null |
---|
IllegalArgumentException | if buffer is null |
---|
Gets and removes the next object from the buffer.