protected abstract class ThriftyList.IterBase extends Object implements ListIterator<T>
| Modifier and Type | Field and Description |
|---|---|
protected int |
currentIndex |
protected int |
currentSublistIndex |
protected int |
currentSublistOffset |
protected int |
index |
protected int |
sublistIndex |
protected int |
sublistOffset |
| Constructor and Description |
|---|
IterBase(int index) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(T item) |
protected void |
cursor()
Calculates the sublist index/offset for the index.
|
T |
next() |
T |
previous() |
void |
remove() |
void |
set(T e) |
protected abstract void |
stepForward() |
protected abstract void |
stepReverse() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithasNext, hasPrevious, nextIndex, previousIndexforEachRemainingprotected int index
protected int sublistIndex
protected int sublistOffset
protected int currentIndex
protected int currentSublistIndex
protected int currentSublistOffset
public void add(T item)
add in interface ListIterator<T>protected void cursor()
public T next()
public T previous()
previous in interface ListIterator<T>public void remove()
public void set(T e)
set in interface ListIterator<T>protected abstract void stepForward()
protected abstract void stepReverse()
Copyright © 1994–2024 Peter Murray-Rust. All rights reserved.