protected class RingBuffer.RingBufferListIterator extends Object implements ListIterator<T>
| Modifier and Type | Field and Description | 
|---|---|
| protected int | bufferIndex | 
| protected int | elementIndex | 
| protected int | realIndex | 
| Modifier | Constructor and Description | 
|---|---|
| protected  | RingBufferListIterator() | 
| protected  | RingBufferListIterator(int index) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | add(T element) | 
| boolean | hasNext() | 
| boolean | hasPrevious() | 
| T | next() | 
| int | nextIndex() | 
| T | previous() | 
| int | previousIndex() | 
| void | remove() | 
| void | set(T element) | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingprotected int realIndex
protected int bufferIndex
protected int elementIndex
protected RingBufferListIterator()
protected RingBufferListIterator(int index)
public int nextIndex()
nextIndex in interface ListIterator<T>public int previousIndex()
previousIndex in interface ListIterator<T>public boolean hasNext()
public boolean hasPrevious()
hasPrevious in interface ListIterator<T>public T next()
public T previous()
previous in interface ListIterator<T>public void add(T element)
add in interface ListIterator<T>public void remove()
public void set(T element)
set in interface ListIterator<T>Copyright © 2015–2021 Fiji. All rights reserved.