# 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

- Related Packages
  Package
  Description
  org.apache.commons.collections4
  Interfaces and utilities shared across all packages.
- Classes
  Class
  Description
  AbstractQueueDecorator<E>
  Decorates another `Queue` to provide additional behavior.
  CircularFifoQueue<E>
  CircularFifoQueue is a first-in first-out queue with a fixed size that replaces its oldest element if full.
  PredicatedQueue<E>
  Decorates another `Queue` to validate that additions match a specified predicate.
  SynchronizedQueue<E>
  Decorates another `Queue` to synchronize its behavior for a multithreaded environment.
  TransformedQueue<E>
  Decorates another `Queue` to transform objects that are added.
  UnmodifiableQueue<E>
  Decorates another `Queue` to ensure it can't be altered.