Package org.apache.commons.collections.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
- 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 as they are added
-
Interface Summary Interface Description CompositeCollection.CollectionMutator Pluggable strategy to handle changes to the composite. -
Class Summary Class Description AbstractCollectionDecorator Decorates anotherCollection
to provide additional behaviour.AbstractSerializableCollectionDecorator Serializable subclass of AbstractCollectionDecorator.CompositeCollection Decorates a collection of other collections to provide a single unified view.PredicatedCollection Decorates anotherCollection
to validate that additions match a specified predicate.SynchronizedCollection Decorates anotherCollection
to synchronize its behaviour for a multi-threaded environment.TransformedCollection Decorates anotherCollection
to transform objects that are added.TypedCollection Decorates aCollection
to validate that elements added are of a specific type.UnmodifiableBoundedCollection UnmodifiableBoundedCollection
decorates anotherBoundedCollection
to ensure it can't be altered.UnmodifiableCollection Decorates anotherCollection
to ensure it can't be altered.