Package org.evoludo.util
Class RingBuffer.FwdItr
Object
FwdItr
- All Implemented Interfaces:
Iterator<T>
- Direct Known Subclasses:
RingBuffer.LstItr
- Enclosing class:
RingBuffer<T>
Iterates forward over all elements in this buffer starting with the oldest
entry.
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) int
Index of current element in Iterator. -
Constructor Summary
ConstructorsConstructorDescriptionFwdItr()
Creates a newIterator
over all elements in this buffer starting with the oldest 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
-
FwdItr
public FwdItr()Creates a newIterator
over all elements in this buffer starting with the oldest entry.
-
-
Method Details