public final class MpscLinkedArrayQueue<T> extends AbstractQueue<T>
| Constructor and Description |
|---|
MpscLinkedArrayQueue(int arrayCapacity) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isEmpty() |
Iterator<T> |
iterator() |
boolean |
offer(T value) |
T |
peek() |
T |
poll() |
int |
size() |
T |
weakPeek() |
T |
weakPoll() |
contains, containsAll, remove, removeAll, retainAll, toArray, toArray, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcontains, containsAll, equals, hashCode, parallelStream, remove, removeAll, removeIf, retainAll, spliterator, stream, toArray, toArraypublic boolean offer(T value)
public T poll()
public T weakPoll()
public T peek()
public T weakPeek()
public boolean isEmpty()
isEmpty in interface Collection<T>isEmpty in class AbstractCollection<T>public int size()
size in interface Collection<T>size in class AbstractCollection<T>Copyright © 2013–2023. All rights reserved.