E - the type of the elements in the sorted setpublic abstract class AbstractSortedSetDecorator<E> extends AbstractSetDecorator<E> implements SortedSet<E>
SortedSet to provide additional behaviour.
Methods are forwarded directly to the decorated set.
| Modifier and Type | Method and Description |
|---|---|
Comparator<? super E> |
comparator() |
E |
first() |
SortedSet<E> |
headSet(E toElement) |
E |
last() |
SortedSet<E> |
subSet(E fromElement,
E toElement) |
SortedSet<E> |
tailSet(E fromElement) |
equals, hashCodeadd, addAll, clear, contains, containsAll, isEmpty, iterator, remove, removeAll, removeIf, retainAll, size, toArray, toArray, toStringspliteratoradd, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArrayparallelStream, removeIf, streampublic Comparator<? super E> comparator()
comparator in interface SortedSet<E>Copyright © 2010 - 2020 Adobe. All Rights Reserved