Class ConcurrentDequeWrapper<E,W extends Deque<E>>
java.lang.Object
ru.progrm_jarvis.javacommons.collection.concurrent.ConcurrentWrapper<W>
ru.progrm_jarvis.javacommons.collection.concurrent.AbstractConcurrentSizedCollectionWrapper<W>
ru.progrm_jarvis.javacommons.collection.concurrent.ConcurrentCollectionWrapper<E,W>
ru.progrm_jarvis.javacommons.collection.concurrent.ConcurrentQueueWrapper<E,W>
ru.progrm_jarvis.javacommons.collection.concurrent.ConcurrentDequeWrapper<E,W>
- All Implemented Interfaces:
Iterable<E>,Collection<E>,Deque<E>,Queue<E>,SizedCollection
public class ConcurrentDequeWrapper<E,W extends Deque<E>>
extends ConcurrentQueueWrapper<E,W>
implements Deque<E>
-
Field Summary
Fields inherited from class ru.progrm_jarvis.javacommons.collection.concurrent.ConcurrentWrapper
readLock, wrapped, writeLock -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConcurrentDequeWrapper(W wrapped, @NotNull Lock readLock, @NotNull Lock writeLock) -
Method Summary
Methods inherited from class ru.progrm_jarvis.javacommons.collection.concurrent.ConcurrentQueueWrapper
create, element, offer, peek, poll, removeMethods inherited from class ru.progrm_jarvis.javacommons.collection.concurrent.ConcurrentCollectionWrapper
add, addAll, contains, containsAll, create, forEach, internalClear, internalIsEmpty, internalSize, iterator, parallelStream, remove, removeAll, removeIf, retainAll, spliterator, stream, toArray, toArrayMethods inherited from class ru.progrm_jarvis.javacommons.collection.concurrent.AbstractConcurrentSizedCollectionWrapper
clear, isEmpty, sizeMethods inherited from class ru.progrm_jarvis.javacommons.collection.concurrent.ConcurrentWrapper
equals, hashCode, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
addAll, clear, containsAll, equals, hashCode, isEmpty, parallelStream, removeAll, removeIf, retainAll, spliterator, stream, toArray, toArray
-
Constructor Details
-
ConcurrentDequeWrapper
-
-
Method Details
-
create
-
addFirst
-
addLast
-
offerFirst
- Specified by:
offerFirstin interfaceDeque<E>
-
offerLast
-
removeFirst
- Specified by:
removeFirstin interfaceDeque<E>
-
removeLast
- Specified by:
removeLastin interfaceDeque<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>
-