Package org.agrona.collections
Class LongArrayQueue.LongIterator
java.lang.Object
org.agrona.collections.LongArrayQueue.LongIterator
- Enclosing class:
LongArrayQueue
Specialised
Iterator
from which the value can be retrieved without boxing via nextValue()
.-
Field Details
-
index
private int index
-
-
Constructor Details
-
LongIterator
public LongIterator()
-
-
Method Details
-
reset
LongArrayQueue.LongIterator reset() -
hasNext
public boolean hasNext() -
next
-
nextValue
public long nextValue()Get the next value from the iterator without boxing.- Returns:
- the next value from the queue.
-