public static class ShortQueue.IntQueueIterator
extends java.lang.Object
implements java.util.Iterator<java.lang.Short>, java.lang.Iterable<java.lang.Short>
| Constructor and Description |
|---|
IntQueueIterator(ShortQueue queue) |
IntQueueIterator(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 IntQueueIterator(ShortQueue queue)
public IntQueueIterator(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>