Package org.apache.commons.collections.buffer
This package contains implementations of the
Buffer
interface.
The following implementations are provided in the package:
- PriorityBuffer - provides for removal based on a comparator ordering
- BoundedFifoBuffer - implements a buffer with a fixed size that throws exceptions when full
- CircularFifoBuffer - implements a buffer with a fixed size that discards oldest when full
- UnboundedFifoBuffer - implements a buffer that grows in size if necessary
The following decorators are provided in the package:
- Synchronized - synchronizes method access for multi-threaded environments
- Unmodifiable - ensures the collection cannot be altered
- Predicated - ensures that only elements that are valid according to a predicate can be added
- Typed - ensures that only elements that are of a specific type can be added
- Transformed - transforms elements added to the buffer
- Blocking - blocks on get and remove until an element is available
-
Class Summary Class Description AbstractBufferDecorator Deprecated. Commons Collections 3 is in maintenance mode.BlockingBuffer Deprecated. Commons Collections 3 is in maintenance mode.BoundedBuffer Deprecated. Commons Collections 3 is in maintenance mode.BoundedFifoBuffer Deprecated. Commons Collections 3 is in maintenance mode.CircularFifoBuffer Deprecated. Commons Collections 3 is in maintenance mode.PredicatedBuffer Deprecated. Commons Collections 3 is in maintenance mode.PriorityBuffer Deprecated. Commons Collections 3 is in maintenance mode.SynchronizedBuffer Deprecated. Commons Collections 3 is in maintenance mode.TransformedBuffer Deprecated. Commons Collections 3 is in maintenance mode.TypedBuffer Deprecated. Commons Collections 3 is in maintenance mode.UnboundedFifoBuffer Deprecated. Commons Collections 3 is in maintenance mode.UnmodifiableBuffer Deprecated. Commons Collections 3 is in maintenance mode.