private static class BaseMpscLinkedUnpaddedArrayQueue.WeakIterator<E>
extends java.lang.Object
implements java.util.Iterator<E>
Modifier and Type | Field and Description |
---|---|
private E[] |
currentBuffer |
private int |
mask |
private E |
nextElement |
private long |
nextIndex |
private long |
pIndex |
Constructor and Description |
---|
WeakIterator(E[] currentBuffer,
long cIndex,
long pIndex) |
Modifier and Type | Method and Description |
---|---|
private E |
getNext() |
boolean |
hasNext() |
E |
next() |
void |
remove() |
private void |
setBuffer(E[] buffer) |
private final long pIndex
private long nextIndex
private E nextElement
private E[] currentBuffer
private int mask
WeakIterator(E[] currentBuffer, long cIndex, long pIndex)