public static class Difference.ArrayIterator<T> extends Object implements ListIterator<T>
| Constructor and Description |
|---|
ArrayIterator(List<T> elements) |
ArrayIterator(List<T> elements,
int index) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(T e) |
boolean |
hasNext() |
boolean |
hasPrevious() |
int |
index() |
T |
next() |
int |
nextIndex() |
T |
previous() |
int |
previousIndex() |
void |
remove() |
void |
set(T e) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingpublic boolean hasNext()
public T next()
public boolean hasPrevious()
hasPrevious in interface ListIterator<T>public T previous()
previous in interface ListIterator<T>public int nextIndex()
nextIndex in interface ListIterator<T>public int previousIndex()
previousIndex in interface ListIterator<T>public int index()
public void remove()
public void set(T e)
set in interface ListIterator<T>public void add(T e)
add in interface ListIterator<T>Copyright © 2007–2024. All rights reserved.