Package | Description |
---|---|
org.apache.commons.collections.buffer |
This package contains implementations of the
Buffer interface. |
org.apache.commons.collections.collection |
This package contains implementations of the
Collection interface. |
org.apache.commons.collections.list |
This package contains implementations of the
List interface. |
Modifier and Type | Class and Description |
---|---|
class |
BoundedBuffer
Decorates another
Buffer to ensure a fixed maximum size. |
class |
BoundedFifoBuffer
The BoundedFifoBuffer is a very efficient implementation of
Buffer that is of a fixed size. |
class |
CircularFifoBuffer
CircularFifoBuffer is a first in first out buffer with a fixed size that
replaces its oldest element if full.
|
Modifier and Type | Class and Description |
---|---|
class |
UnmodifiableBoundedCollection
UnmodifiableBoundedCollection decorates another
BoundedCollection to ensure it can't be altered. |
Modifier and Type | Method and Description |
---|---|
static BoundedCollection |
UnmodifiableBoundedCollection.decorate(BoundedCollection coll)
Factory method to create an unmodifiable bounded collection.
|
static BoundedCollection |
UnmodifiableBoundedCollection.decorateUsing(java.util.Collection coll)
Factory method to create an unmodifiable bounded collection.
|
Modifier and Type | Method and Description |
---|---|
static BoundedCollection |
UnmodifiableBoundedCollection.decorate(BoundedCollection coll)
Factory method to create an unmodifiable bounded collection.
|
Constructor and Description |
---|
UnmodifiableBoundedCollection(BoundedCollection coll)
Constructor that wraps (not copies).
|
Modifier and Type | Class and Description |
---|---|
class |
FixedSizeList
Decorates another
List to fix the size preventing add/remove. |