Package org.apache.commons.collections4.set
package org.apache.commons.collections4.set
Implements the
Set,
SortedSet and
NavigableSet interfaces.
The implementations are in the form of direct implementations and decorators. A decorator wraps another implementation of the interface to add some specific additional functionality.
The following implementations are provided in the package:
- CompositeSet - a set that combines multiple sets into one
- Unmodifiable - ensures the collection cannot be altered
- Predicated - ensures that only elements that are valid according to a predicate can be added
- Transformed - transforms each element added
- ListOrdered - ensures that insertion order is retained
- MapBackedSet - a set formed by decorating a Map
-
ClassDescriptionDecorates another
NavigableSetto provide additional behavior.Serializable subclass of AbstractSetDecorator.Decorates anotherSetto provide additional behavior.Decorates anotherSortedSetto provide additional behavior.CompositeSet<E>Decorates a set of other sets to provide a single unified view.Defines callbacks for mutation operations.Decorates anotherSetto ensure that the order of addition is retained and used by the iterator.MapBackedSet<E,V> Decorates aMapto obtainSetbehavior.Decorates anotherNavigableSetto validate that all additions match a specified predicate.Decorates anotherSetto validate that all additions match a specified predicate.Decorates anotherSortedSetto validate that all additions match a specified predicate.Decorates anotherNavigableSetto transform objects that are added.Decorates anotherSetto transform objects that are added.Decorates anotherSortedSetto transform objects that are added.Decorates anotherNavigableSetto ensure it can't be altered.Decorates anotherSetto ensure it can't be altered.Decorates anotherSortedSetto ensure it can't be altered.