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>,SequencedCollection<E>,SequencedSet<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 behaviour.
Methods are forwarded directly to the decorated set.
- Since:
- 3.0
- See Also:
-
Method Summary
Methods inherited from class org.apache.commons.collections4.set.AbstractSetDecorator
equals, hashCodeMethods inherited from class org.apache.commons.collections4.collection.AbstractCollectionDecorator
add, addAll, clear, contains, containsAll, isEmpty, iterator, remove, removeAll, removeIf, retainAll, size, toArray, toArray, toStringMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.Set
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArrayMethods inherited from interface java.util.SortedSet
addFirst, addLast, getFirst, getLast, removeFirst, removeLast, reversed, spliterator
-
Method Details
-
subSet
-
headSet
-
tailSet
-
first
-
last
-
comparator
- Specified by:
comparatorin interfaceSortedSet<E>
-