static class Synchronized.SynchronizedSortedSet<E> extends Synchronized.SynchronizedSet<E> implements java.util.SortedSet<E>
Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID |
delegate, mutex
Constructor and Description |
---|
SynchronizedSortedSet(java.util.SortedSet<E> delegate,
java.lang.Object mutex) |
Modifier and Type | Method and Description |
---|---|
java.util.Comparator<? super E> |
comparator() |
(package private) java.util.SortedSet<E> |
delegate() |
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, forEach, isEmpty, iterator, parallelStream, remove, removeAll, removeIf, retainAll, size, spliterator, stream, toArray, toArray
toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
private static final long serialVersionUID
SynchronizedSortedSet(java.util.SortedSet<E> delegate, java.lang.Object mutex)
java.util.SortedSet<E> delegate()
delegate
in class Synchronized.SynchronizedSet<E>
public java.util.Comparator<? super E> comparator()
comparator
in interface java.util.SortedSet<E>
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>