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