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
@GwtIncompatible 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>
descendingSet
private static long
serialVersionUID
-
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 E
ceiling(E e)
(package private) java.util.NavigableSet<E>
delegate()
java.util.Iterator<E>
descendingIterator()
java.util.NavigableSet<E>
descendingSet()
E
floor(E e)
java.util.SortedSet<E>
headSet(E toElement)
java.util.NavigableSet<E>
headSet(E toElement, boolean inclusive)
E
higher(E e)
E
lower(E e)
E
pollFirst()
E
pollLast()
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, isEmpty, iterator, remove, removeAll, retainAll, size, 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, @Nullable java.lang.Object mutex)
-
-
Method Detail
-
delegate
java.util.NavigableSet<E> delegate()
- Overrides:
delegate
in classSynchronized.SynchronizedSortedSet<E>
-
descendingIterator
public java.util.Iterator<E> descendingIterator()
- Specified by:
descendingIterator
in interfacejava.util.NavigableSet<E>
-
descendingSet
public java.util.NavigableSet<E> descendingSet()
- Specified by:
descendingSet
in interfacejava.util.NavigableSet<E>
-
headSet
public java.util.NavigableSet<E> headSet(E toElement, boolean inclusive)
- Specified by:
headSet
in interfacejava.util.NavigableSet<E>
-
subSet
public java.util.NavigableSet<E> subSet(E fromElement, boolean fromInclusive, E toElement, boolean toInclusive)
- Specified by:
subSet
in interfacejava.util.NavigableSet<E>
-
tailSet
public java.util.NavigableSet<E> tailSet(E fromElement, boolean inclusive)
- Specified by:
tailSet
in interfacejava.util.NavigableSet<E>
-
headSet
public java.util.SortedSet<E> headSet(E toElement)
- Specified by:
headSet
in interfacejava.util.NavigableSet<E>
- Specified by:
headSet
in interfacejava.util.SortedSet<E>
- Overrides:
headSet
in classSynchronized.SynchronizedSortedSet<E>
-
subSet
public java.util.SortedSet<E> subSet(E fromElement, E toElement)
- Specified by:
subSet
in interfacejava.util.NavigableSet<E>
- Specified by:
subSet
in interfacejava.util.SortedSet<E>
- Overrides:
subSet
in classSynchronized.SynchronizedSortedSet<E>
-
-