public class RingBuffer<T>
extends java.lang.Object
implements java.lang.Iterable<T>
| Constructor and Description | 
|---|
RingBuffer(int capacity)  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
isEmpty()  | 
java.util.Iterator<T> | 
iterator()  | 
T | 
pop()  | 
void | 
push(T item)  | 
int | 
size()  |