Package org.apache.commons.collections4.queue
package org.apache.commons.collections4.queue
Implements the
Queue
interface.
The following implementations are provided in the package:
- CircularFifoQueue - implements a queue with a fixed size that discards oldest when full
The following decorators are provided in the package:
- Predicated - ensures that only elements that are valid according to a predicate can be added
- Transformed - transforms elements added to the queue
- Unmodifiable - ensures the collection cannot be altered
-
ClassDescriptionDecorates another
Queue
to provide additional behavior.CircularFifoQueue is a first-in first-out queue with a fixed size that replaces its oldest element if full.Decorates anotherQueue
to validate that additions match a specified predicate.Decorates anotherQueue
to synchronize its behavior for a multithreaded environment.Decorates anotherQueue
to transform objects that are added.Decorates anotherQueue
to ensure it can't be altered.