T - the value type to offer and poll, not nullpublic interface SimplePlainQueue<T> extends SimpleQueue<T>
| Modifier and Type | Method and Description | 
|---|---|
T | 
poll()
Tries to dequeue a value (non-null) or returns null if
 the queue is empty. 
 | 
clear, isEmpty, offer, offer@Nullable T poll()
SimpleQueue
 If the producer uses SimpleQueue.offer(Object, Object) and
 when polling in pairs, if the first poll() returns a non-null
 item, the second poll() is guaranteed to return a non-null item
 as well.
poll in interface SimpleQueue<T>