public interface SortedSetDecorator<E> extends SetDecorator<E>, java.util.SortedSet<E>
Modifier and Type | Method and Description |
---|---|
default java.util.Comparator<? super E> |
comparator() |
default E |
first() |
java.util.SortedSet<E> |
getComponent() |
default java.util.SortedSet<E> |
headSet(E toElement) |
default E |
last() |
static <E> java.util.SortedSet<E> |
over(java.util.SortedSet<E> component) |
default java.util.SortedSet<E> |
subSet(E fromElement,
E toElement) |
default java.util.SortedSet<E> |
tailSet(E fromElement) |
static <E> java.util.SortedSet<E> over(java.util.SortedSet<E> component)
java.util.SortedSet<E> getComponent()
getComponent
in interface CollectionDecorator<java.util.Set<E>,E>
getComponent
in interface SetDecorator<E>
default java.util.Comparator<? super E> comparator()
comparator
in interface java.util.SortedSet<E>
default java.util.SortedSet<E> subSet(E fromElement, E toElement)
subSet
in interface java.util.SortedSet<E>
default java.util.SortedSet<E> headSet(E toElement)
headSet
in interface java.util.SortedSet<E>
default java.util.SortedSet<E> tailSet(E fromElement)
tailSet
in interface java.util.SortedSet<E>