- All Implemented Interfaces:
Iterable<T>
Ring buffer (fixed size queue) implementation using a circular array (array
with wrap-around).
-
Constructor Summary
Constructors
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
RingBuffer
public RingBuffer(int capacity)
-
Method Details
-
isEmpty
public boolean isEmpty()
-
-
-
-