T - the item type to be queuedpublic final class SpmcLinkedArrayQueue<T> extends Object implements SimplePlainQueue<T>
| Constructor and Description |
|---|
SpmcLinkedArrayQueue(int capacity) |
public boolean offer(T value)
offer in interface SimpleQueue<T>public boolean offer(T v1, T v2)
offer in interface SimpleQueue<T>public boolean isEmpty()
isEmpty in interface SimpleQueue<T>public void clear()
clear in interface SimpleQueue<T>public T poll()
poll in interface SimplePlainQueue<T>poll in interface SimpleQueue<T>