Class BaseMpscLinkedAtomicUnpaddedArrayQueue.WeakIterator<E>
- java.lang.Object
-
- org.jctools.queues.atomic.unpadded.BaseMpscLinkedAtomicUnpaddedArrayQueue.WeakIterator<E>
-
- All Implemented Interfaces:
java.util.Iterator<E>
- Enclosing class:
- BaseMpscLinkedAtomicUnpaddedArrayQueue<E>
private static class BaseMpscLinkedAtomicUnpaddedArrayQueue.WeakIterator<E> extends java.lang.Object implements java.util.Iterator<E>NOTE: This class was automatically generated by org.jctools.queues.atomic.unpadded.JavaParsingAtomicUnpaddedLinkedQueueGenerator which can found in the jctools-build module. The original source file is BaseMpscLinkedArrayQueue.java.
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.concurrent.atomic.AtomicReferenceArray<E>currentBufferprivate intmaskprivate EnextElementprivate longnextIndexprivate longpIndex
-
Constructor Summary
Constructors Constructor Description WeakIterator(java.util.concurrent.atomic.AtomicReferenceArray<E> currentBuffer, long cIndex, long pIndex)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private EgetNext()booleanhasNext()Enext()voidremove()private voidsetBuffer(java.util.concurrent.atomic.AtomicReferenceArray<E> buffer)
-
-
-
Constructor Detail
-
WeakIterator
WeakIterator(java.util.concurrent.atomic.AtomicReferenceArray<E> currentBuffer, long cIndex, long pIndex)
-
-
Method Detail
-
remove
public void remove()
- Specified by:
removein interfacejava.util.Iterator<E>
-
hasNext
public boolean hasNext()
- Specified by:
hasNextin interfacejava.util.Iterator<E>
-
setBuffer
private void setBuffer(java.util.concurrent.atomic.AtomicReferenceArray<E> buffer)
-
getNext
private E getNext()
-
-