Package org.apache.commons.collections4.collection

This package contains implementations of the Collection interface.

The following implementations are provided in the package:

  • CompositeCollection - a collection that combines multiple collections into one
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
  • Transformed - transforms elements as they are added
  • Indexed - provides a map-like view onto another collection