Serializable, Iterable<E>, Collection<E>, Queue<E>public class CachedSizeConcurrentLinkedQueue<E> extends ConcurrentLinkedQueue<E>
| Constructor | Description |
|---|---|
CachedSizeConcurrentLinkedQueue() |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
add(E e) |
|
E |
poll() |
|
int |
size() |
containsAllelement, removecontainsAll, equals, hashCode, parallelStream, streamaddAll, clear, contains, forEach, isEmpty, iterator, offer, peek, remove, removeAll, removeIf, retainAll, spliterator, toArray, toArray, toStringpublic boolean add(@NotNull
E e)
add in interface Collection<E>add in interface Queue<E>add in class ConcurrentLinkedQueue<E>@Nullable public E poll()
public int size()
size in interface Collection<E>size in class ConcurrentLinkedQueue<E>Copyright © 2020. All rights reserved.