E - the collection type.public class ConcurrentLinkedDistinctQueue<E> extends ConcurrentLinkedQueue<E>
removes
already existing elements from the underlying collection prior to value insertion.| Constructor and Description |
|---|
ConcurrentLinkedDistinctQueue() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(E e)
Removes the element prior to insertion.
|
boolean |
addAll(Collection<? extends E> c)
Removes all elements in the collection prior to insertion.
|
contains, isEmpty, iterator, offer, peek, poll, remove, size, spliterator, toArray, toArrayclear, element, removecontainsAll, removeAll, retainAll, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitclear, containsAll, equals, hashCode, parallelStream, removeAll, removeIf, retainAll, streampublic boolean add(E e)
add in interface Collection<E>add in interface Queue<E>add in class ConcurrentLinkedQueue<E>e - must not be null.public boolean addAll(Collection<? extends E> c)
addAll in interface Collection<E>addAll in class ConcurrentLinkedQueue<E>c - must not be null.Copyright © 2024. All rights reserved.