Package org.jctools.queues
Class BaseMpscLinkedArrayQueue.WeakIterator<E>
- java.lang.Object
-
- org.jctools.queues.BaseMpscLinkedArrayQueue.WeakIterator<E>
-
- All Implemented Interfaces:
java.util.Iterator<E>
- Enclosing class:
- BaseMpscLinkedArrayQueue<E>
private static class BaseMpscLinkedArrayQueue.WeakIterator<E> extends java.lang.Object implements java.util.Iterator<E>
-
-
Field Summary
Fields Modifier and Type Field Description private E[]currentBufferprivate intmaskprivate EnextElementprivate longnextIndexprivate longpIndex
-
Constructor Summary
Constructors Constructor Description WeakIterator(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(E[] buffer)
-
-
-
Constructor Detail
-
WeakIterator
WeakIterator(E[] currentBuffer, long cIndex, long pIndex)
-
-