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, removeMethods 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, toArrayMethods inherited from class com.google.common.collect.Synchronized.SynchronizedObject
toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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:
delegatein classSynchronized.SynchronizedQueue<E>
-
addFirst
-
addLast
-
offerFirst
- Specified by:
offerFirstin interfaceDeque<E>
-
offerLast
-
removeFirst
- Specified by:
removeFirstin interfaceDeque<E>- Specified by:
removeFirstin interfaceSequencedCollection<E>
-
removeLast
- Specified by:
removeLastin interfaceDeque<E>- Specified by:
removeLastin interfaceSequencedCollection<E>
-
pollFirst
-
pollLast
-
getFirst
-
getLast
-
peekFirst
-
peekLast
-
removeFirstOccurrence
- Specified by:
removeFirstOccurrencein interfaceDeque<E>
-
removeLastOccurrence
- Specified by:
removeLastOccurrencein interfaceDeque<E>
-
push
-
pop
-
descendingIterator
- Specified by:
descendingIteratorin interfaceDeque<E>
-