public class NullIterator<E>
extends java.lang.Object
implements java.util.ListIterator<E>
| Constructor and Description |
|---|
NullIterator() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(E o) |
static NullIterator |
create() |
boolean |
hasNext() |
boolean |
hasPrevious() |
E |
next() |
int |
nextIndex() |
E |
previous() |
int |
previousIndex() |
void |
remove() |
void |
set(E o) |
public static NullIterator create()
public boolean hasNext()
public E next()
public int nextIndex()
nextIndex in interface java.util.ListIterator<E>public boolean hasPrevious()
hasPrevious in interface java.util.ListIterator<E>public int previousIndex()
previousIndex in interface java.util.ListIterator<E>