Package org.evoludo.util
Class RingBuffer.BckItr
Object
BckItr
- All Implemented Interfaces:
Iterator<T>
- Enclosing class:
RingBuffer<T>
Iterates backwards over all elements in this buffer starting with the most
recent entry.
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) int
Index of current element in Iterator. -
Constructor Summary
ConstructorsConstructorDescriptionBckItr()
Creates a newIterator
over all elements in this buffer starting with the most recent entry. -
Method Summary
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface Iterator
forEachRemaining, remove
-
Field Details
-
cursor
int cursorIndex of current element in Iterator.
-
-
Constructor Details
-
BckItr
public BckItr()Creates a newIterator
over all elements in this buffer starting with the most recent entry.
-
-
Method Details