public interface ConcurrentQueue<V>
| Modifier and Type | Interface and Description |
|---|---|
static interface |
ConcurrentQueue.Handle<V>
A Handle provides the capability to delete an element of a ConcurrentQueue
very quickly.
|
| Modifier and Type | Method and Description |
|---|---|
ConcurrentQueue.Handle<V> |
offer(V arg)
Add a new element to the tail of the queue.
|
V |
poll()
Return an element from the head of the queue.
|
int |
size()
Return the number of elements in the queue.
|
int size()
ConcurrentQueue.Handle<V> offer(V arg)
V poll()
Copyright © 2005–2018 Oracle Corporation. All rights reserved.