Class RingBuffer.FwdItr
Object
FwdItr
- All Implemented Interfaces:
Iterator<T>
- Direct Known Subclasses:
RingBuffer.LstItr
- Enclosing class:
RingBuffer<T>
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) intIndex of current element in Iterator. -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Iterator
forEachRemaining, remove
-
Field Details
-
cursor
int cursorIndex of current element in Iterator.
-
-
Constructor Details
-
FwdItr
FwdItr()Create a forward iterator starting at the oldest element.
-
-
Method Details
-
hasNext
-
next
-