protected class RingBufferLockless.RingBufferIterator extends Object implements Iterator<T>
| Modifier and Type | Field and Description |
|---|---|
protected AtomicReferenceArray<T> |
buffer |
protected long |
current |
| Constructor and Description |
|---|
RingBufferIterator(AtomicReferenceArray<T> buffer) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
T |
next() |
void |
remove() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingprotected final AtomicReferenceArray<T> buffer
protected long current
public RingBufferIterator(AtomicReferenceArray<T> buffer)
Copyright © 2025 JBoss, a division of Red Hat. All rights reserved.