public class VaConcurrentQueue extends VaQueue
| Constructor and Description |
|---|
VaConcurrentQueue() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(VaNode node)
Adds to the tail of the queue.
|
VaNode |
peek()
Returns but does not remove the head of the queue.
|
VaNode |
poll()
Removes and returns the head of the queue.
|
boolean |
remove(VaNode node)
Removes a node from the queue.
|
public void add(VaNode node)
VaQueuepublic VaNode poll()
VaQueuepublic VaNode peek()
VaQueueCopyright @ 2019 Thomson Reuters. All Rights Reserved.