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, toArray
clear, element, remove
containsAll, removeAll, retainAll, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
clear, containsAll, equals, hashCode, parallelStream, removeAll, removeIf, retainAll, stream
public boolean add(@NotNull E e)
add
in interface Collection<E>
add
in interface Queue<E>
add
in class ConcurrentLinkedQueue<E>
public int size()
size
in interface Collection<E>
size
in class ConcurrentLinkedQueue<E>
Copyright © 2021. All rights reserved.