| public T poll() Redeclares io.reactivex.rxjava3.operators.SimpleQueue.poll.
Doc from io.reactivex.rxjava3.operators.SimpleQueue.poll.
Tries to dequeue a value (non-null) or returns null if
the queue is empty.
If the producer uses 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.
- Returns:T
the item or null to indicate an empty queue
- Annotations
- @Nullable
- @Override
|