public class QueueReader<E> extends Object implements Iterator<E>
Modifier and Type | Method and Description |
---|---|
QueueReader<E> |
clone() |
boolean |
hasNext()
Returns true iff there is currently another object in the queue.
|
E |
next()
Returns (and removes) the next object in the queue, or null if
there are none.
|
void |
remove() |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
public final E next()
public final boolean hasNext()
public final QueueReader<E> clone()