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 | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Factory method to create an unmodifiable buffer.
| |||||||||||
Gets and removes the next object from the buffer.
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() |
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.