public final class RingBuffer<T> extends Object
| Constructor and Description |
|---|
RingBuffer(int maxSize) |
| Modifier and Type | Method and Description |
|---|---|
RingBuffer<T> |
add(T value) |
boolean |
isEmpty() |
T |
poll() |
RingBuffer<T> |
replay(int count) |
int |
size() |
public RingBuffer<T> add(T value)
public T poll()
public int size()
public RingBuffer<T> replay(int count)
public boolean isEmpty()
Copyright © 2018–2023. All rights reserved.