class SortedList.It
extends java.lang.Object
implements java.util.ListIterator<T>
| Modifier and Type | Field and Description |
|---|---|
(package private) int |
n |
| Constructor and Description |
|---|
It(int n) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(T e)
Deprecated.
|
boolean |
hasNext() |
boolean |
hasPrevious() |
T |
next() |
int |
nextIndex() |
T |
previous() |
int |
previousIndex() |
void |
remove()
Deprecated.
|
void |
set(T e)
Deprecated.
|
public boolean hasNext()
public T next() throws java.util.NoSuchElementException
public boolean hasPrevious()
hasPrevious in interface java.util.ListIterator<T>public int nextIndex()
nextIndex in interface java.util.ListIterator<T>public int previousIndex()
previousIndex in interface java.util.ListIterator<T>@Deprecated public void remove()
@Deprecated public void set(T e)
set in interface java.util.ListIterator<T>