public class CachedSizeConcurrentLinkedQueue<E> extends ConcurrentLinkedQueue<E>
| Constructor and Description |
|---|
CachedSizeConcurrentLinkedQueue() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(E e) |
E |
poll() |
int |
size() |
addAll, contains, isEmpty, iterator, offer, peek, remove, 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>public E poll()
public int size()
size in interface Collection<E>size in class ConcurrentLinkedQueue<E>Copyright © 2021. All rights reserved.