public class QueueReader<E>
extends java.lang.Object
implements java.util.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() |
public final E next()
next in interface java.util.Iterator<E>public final boolean hasNext()
hasNext in interface java.util.Iterator<E>public final void remove()
remove in interface java.util.Iterator<E>public final QueueReader<E> clone()
clone in class java.lang.ObjectCopyright © 2012-2019 RoboVM AB. All Rights Reserved.