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