Class RingBuffer.LstItr

All Implemented Interfaces:
Iterator<T>, ListIterator<T>
Enclosing class:
RingBuffer<T>

private class RingBuffer.LstItr extends RingBuffer<T>.FwdItr implements ListIterator<T>
Iterates forward over all elements in this buffer starting with the oldest entry.
  • Constructor Details Link icon

    • LstItr Link icon

      public LstItr()
      Creates a new ListIterator over all elements in this buffer starting with the oldest entry.
    • LstItr Link icon

      public LstItr(int index)
      Creates a new ListIterator over all elements in this buffer starting with the entry at index.
      Parameters:
      index - the index of the first element to be returned
  • Method Details Link icon