Class CircularConcurrentLinkedDeque<E>
java.lang.Object
java.util.AbstractCollection<E>
java.util.concurrent.ConcurrentLinkedDeque<E>
software.xdev.mockserver.collections.CircularConcurrentLinkedDeque<E>
- All Implemented Interfaces:
Serializable,Iterable<E>,Collection<E>,Deque<E>,Queue<E>
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanaddAll(Collection<? extends E> collection) voidclear()booleanbooleanDeprecated.use removeItem insteadbooleanremoveItem(E e) voidsetMaxSize(int maxSize) Methods inherited from class java.util.concurrent.ConcurrentLinkedDeque
addFirst, addLast, contains, descendingIterator, element, forEach, getFirst, getLast, isEmpty, iterator, offerFirst, offerLast, peek, peekFirst, peekLast, poll, pollFirst, pollLast, pop, push, remove, removeAll, removeFirst, removeFirstOccurrence, removeIf, removeLast, removeLastOccurrence, retainAll, size, spliterator, toArray, toArray, toStringMethods inherited from class java.util.AbstractCollection
containsAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
containsAll, equals, hashCode, parallelStream, stream, toArray
-
Constructor Details
-
CircularConcurrentLinkedDeque
-
-
Method Details
-
setMaxSize
public void setMaxSize(int maxSize) -
add
-
addAll
- Specified by:
addAllin interfaceCollection<E>- Specified by:
addAllin interfaceDeque<E>- Overrides:
addAllin classConcurrentLinkedDeque<E>
-
offer
-
clear
public void clear()- Specified by:
clearin interfaceCollection<E>- Overrides:
clearin classConcurrentLinkedDeque<E>
-
remove
Deprecated.use removeItem instead- Specified by:
removein interfaceCollection<E>- Specified by:
removein interfaceDeque<E>- Overrides:
removein classConcurrentLinkedDeque<E>
-
removeItem
-