Class AbstractSortedSetDecorator
- java.lang.Object
-
- org.apache.commons.collections.collection.AbstractCollectionDecorator
-
- org.apache.commons.collections.set.AbstractSetDecorator
-
- org.apache.commons.collections.set.AbstractSortedSetDecorator
-
- All Implemented Interfaces:
Iterable,Collection,Set,SortedSet
- Direct Known Subclasses:
UnmodifiableSortedSet
@Deprecated(since="2021-04-30") public abstract class AbstractSortedSetDecorator extends AbstractSetDecorator implements SortedSet
Deprecated.Commons Collections 3 is in maintenance mode. Commons Collections 4 should be used instead.Decorates anotherSortedSetto provide additional behaviour.Methods are forwarded directly to the decorated set.
- Since:
- Commons Collections 3.0
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Comparatorcomparator()Deprecated.Objectfirst()Deprecated.SortedSetheadSet(Object toElement)Deprecated.Objectlast()Deprecated.SortedSetsubSet(Object fromElement, Object toElement)Deprecated.SortedSettailSet(Object fromElement)Deprecated.-
Methods inherited from class org.apache.commons.collections.collection.AbstractCollectionDecorator
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray, toString
-
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
Methods inherited from interface java.util.Set
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
-
Methods inherited from interface java.util.SortedSet
spliterator
-
-
-
-
Method Detail
-
comparator
public Comparator comparator()
Deprecated.- Specified by:
comparatorin interfaceSortedSet
-
-