Package com.google.common.collect
Class Synchronized.SynchronizedNavigableSet<E>
- java.lang.Object
-
- com.google.common.collect.Synchronized.SynchronizedObject
-
- com.google.common.collect.Synchronized.SynchronizedCollection<E>
-
- com.google.common.collect.Synchronized.SynchronizedSet<E>
-
- com.google.common.collect.Synchronized.SynchronizedSortedSet<E>
-
- com.google.common.collect.Synchronized.SynchronizedNavigableSet<E>
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Iterable<E>,java.util.Collection<E>,java.util.NavigableSet<E>,java.util.Set<E>,java.util.SortedSet<E>
- Enclosing class:
- Synchronized
static class Synchronized.SynchronizedNavigableSet<E> extends Synchronized.SynchronizedSortedSet<E> implements java.util.NavigableSet<E>
-
-
Field Summary
Fields Modifier and Type Field Description (package private) java.util.NavigableSet<E>descendingSetprivate static longserialVersionUID-
Fields inherited from class com.google.common.collect.Synchronized.SynchronizedObject
delegate, mutex
-
-
Constructor Summary
Constructors Constructor Description SynchronizedNavigableSet(java.util.NavigableSet<E> delegate, java.lang.Object mutex)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Eceiling(E e)(package private) java.util.NavigableSet<E>delegate()java.util.Iterator<E>descendingIterator()java.util.NavigableSet<E>descendingSet()Efloor(E e)java.util.SortedSet<E>headSet(E toElement)java.util.NavigableSet<E>headSet(E toElement, boolean inclusive)Ehigher(E e)Elower(E e)EpollFirst()EpollLast()java.util.NavigableSet<E>subSet(E fromElement, boolean fromInclusive, E toElement, boolean toInclusive)java.util.SortedSet<E>subSet(E fromElement, E toElement)java.util.SortedSet<E>tailSet(E fromElement)java.util.NavigableSet<E>tailSet(E fromElement, boolean inclusive)-
Methods inherited from class com.google.common.collect.Synchronized.SynchronizedSortedSet
comparator, first, last
-
Methods inherited from class com.google.common.collect.Synchronized.SynchronizedSet
equals, hashCode
-
Methods inherited from class com.google.common.collect.Synchronized.SynchronizedCollection
add, addAll, clear, contains, containsAll, forEach, isEmpty, iterator, parallelStream, remove, removeAll, removeIf, retainAll, size, spliterator, stream, toArray, toArray
-
Methods inherited from class com.google.common.collect.Synchronized.SynchronizedObject
toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
descendingSet
transient java.util.NavigableSet<E> descendingSet
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SynchronizedNavigableSet
SynchronizedNavigableSet(java.util.NavigableSet<E> delegate, java.lang.Object mutex)
-
-
Method Detail
-
delegate
java.util.NavigableSet<E> delegate()
- Overrides:
delegatein classSynchronized.SynchronizedSortedSet<E>
-
descendingIterator
public java.util.Iterator<E> descendingIterator()
- Specified by:
descendingIteratorin interfacejava.util.NavigableSet<E>
-
descendingSet
public java.util.NavigableSet<E> descendingSet()
- Specified by:
descendingSetin interfacejava.util.NavigableSet<E>
-
headSet
public java.util.NavigableSet<E> headSet(E toElement, boolean inclusive)
- Specified by:
headSetin interfacejava.util.NavigableSet<E>
-
headSet
public java.util.SortedSet<E> headSet(E toElement)
- Specified by:
headSetin interfacejava.util.NavigableSet<E>- Specified by:
headSetin interfacejava.util.SortedSet<E>- Overrides:
headSetin classSynchronized.SynchronizedSortedSet<E>
-
subSet
public java.util.NavigableSet<E> subSet(E fromElement, boolean fromInclusive, E toElement, boolean toInclusive)
- Specified by:
subSetin interfacejava.util.NavigableSet<E>
-
subSet
public java.util.SortedSet<E> subSet(E fromElement, E toElement)
- Specified by:
subSetin interfacejava.util.NavigableSet<E>- Specified by:
subSetin interfacejava.util.SortedSet<E>- Overrides:
subSetin classSynchronized.SynchronizedSortedSet<E>
-
tailSet
public java.util.NavigableSet<E> tailSet(E fromElement, boolean inclusive)
- Specified by:
tailSetin interfacejava.util.NavigableSet<E>
-
-