Class AbstractSortedSetDecorator<E>
java.lang.Object
org.apache.commons.collections4.collection.AbstractCollectionDecorator<E>
org.apache.commons.collections4.set.AbstractSetDecorator<E>
org.apache.commons.collections4.set.AbstractSortedSetDecorator<E>
- Type Parameters:
- E- the type of the elements in the sorted set
- All Implemented Interfaces:
- Serializable,- Iterable<E>,- Collection<E>,- Set<E>,- SortedSet<E>
- Direct Known Subclasses:
- AbstractNavigableSetDecorator,- UnmodifiableSortedSet
public abstract class AbstractSortedSetDecorator<E>
extends AbstractSetDecorator<E>
implements SortedSet<E>
Decorates another 
SortedSet to provide additional behavior.
 Methods are forwarded directly to the decorated set.
- Since:
- 3.0
- See Also:
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedConstructor only used in deserialization, do not use otherwise.protectedAbstractSortedSetDecorator(Set<E> set) Constructor that wraps (not copies).
- 
Method SummaryMethods inherited from class org.apache.commons.collections4.set.AbstractSetDecoratorequals, hashCodeMethods inherited from class org.apache.commons.collections4.collection.AbstractCollectionDecoratoradd, addAll, clear, contains, containsAll, isEmpty, iterator, remove, removeAll, removeIf, retainAll, setCollection, size, toArray, toArray, toStringMethods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.CollectionparallelStream, removeIf, streamMethods inherited from interface java.util.Setadd, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArrayMethods inherited from interface java.util.SortedSetspliterator
- 
Constructor Details- 
AbstractSortedSetDecoratorprotected AbstractSortedSetDecorator()Constructor only used in deserialization, do not use otherwise.- Since:
- 3.1
 
- 
AbstractSortedSetDecoratorConstructor that wraps (not copies).- Parameters:
- set- the set to decorate, must not be null
- Throws:
- NullPointerException- if set is null
 
 
- 
- 
Method Details- 
comparator- Specified by:
- comparatorin interface- SortedSet<E>
 
- 
decorated
- 
first
- 
headSet
- 
last
- 
subSet
- 
tailSet
 
-