Package com.google.common.collect
Class Synchronized.SynchronizedDeque<E>
java.lang.Object
com.google.common.collect.Synchronized.SynchronizedObject
com.google.common.collect.Synchronized.SynchronizedCollection<E>
com.google.common.collect.Synchronized.SynchronizedQueue<E>
com.google.common.collect.Synchronized.SynchronizedDeque<E>
- All Implemented Interfaces:
Serializable
,Iterable<E>
,Collection<E>
,Deque<E>
,Queue<E>
,SequencedCollection<E>
- Enclosing class:
Synchronized
static final class Synchronized.SynchronizedDeque<E>
extends Synchronized.SynchronizedQueue<E>
implements Deque<E>
-
Field Summary
FieldsFields inherited from class com.google.common.collect.Synchronized.SynchronizedObject
delegate, mutex
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.google.common.collect.Synchronized.SynchronizedQueue
element, offer, peek, poll, remove
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, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
clear, containsAll, equals, hashCode, isEmpty, parallelStream, removeAll, removeIf, retainAll, spliterator, stream, toArray, toArray, toArray
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
SynchronizedDeque
-
-
Method Details
-
delegate
- Overrides:
delegate
in classSynchronized.SynchronizedQueue<E>
-
addFirst
-
addLast
-
offerFirst
- Specified by:
offerFirst
in interfaceDeque<E>
-
offerLast
-
removeFirst
- Specified by:
removeFirst
in interfaceDeque<E>
- Specified by:
removeFirst
in interfaceSequencedCollection<E>
-
removeLast
- Specified by:
removeLast
in interfaceDeque<E>
- Specified by:
removeLast
in interfaceSequencedCollection<E>
-
pollFirst
-
pollLast
-
getFirst
-
getLast
-
peekFirst
-
peekLast
-
removeFirstOccurrence
- Specified by:
removeFirstOccurrence
in interfaceDeque<E>
-
removeLastOccurrence
- Specified by:
removeLastOccurrence
in interfaceDeque<E>
-
push
-
pop
-
descendingIterator
- Specified by:
descendingIterator
in interfaceDeque<E>
-