public static class ShortQueue.ShortQueueIterator
extends java.lang.Object
implements java.util.Iterator<java.lang.Short>, java.lang.Iterable<java.lang.Short>
| Constructor and Description |
|---|
ShortQueueIterator(ShortQueue queue) |
ShortQueueIterator(ShortQueue queue,
boolean allowRemove) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
java.util.Iterator<java.lang.Short> |
iterator() |
java.lang.Short |
next() |
void |
remove() |
void |
reset() |
public ShortQueueIterator(ShortQueue queue)
public ShortQueueIterator(ShortQueue queue, boolean allowRemove)
public boolean hasNext()
hasNext in interface java.util.Iterator<java.lang.Short>public java.lang.Short next()
next in interface java.util.Iterator<java.lang.Short>public void remove()
remove in interface java.util.Iterator<java.lang.Short>public void reset()
public java.util.Iterator<java.lang.Short> iterator()
iterator in interface java.lang.Iterable<java.lang.Short>