public abstract class CircularBuffer.Consumer
extends java.lang.Object
| Constructor and Description |
|---|
Consumer() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
clearValue() |
E |
getAndClearReadValue() |
protected abstract E |
getValue() |
protected abstract void |
grabValue(int index) |
boolean |
hasNext() |
boolean |
isEmpty() |
long |
lastIndexRead() |
E |
poll() |
void |
poll0() |
int |
size() |
public final long lastIndexRead()
public final boolean hasNext()
public void poll0()
public E poll()
public E getAndClearReadValue()
public int size()
public boolean isEmpty()
protected abstract void grabValue(int index)
protected abstract void clearValue()
protected abstract E getValue()