ELEMENTTYPE - The type of the list iterator@Immutable public class EmptyListIterator<ELEMENTTYPE> extends Object implements ListIterator<ELEMENTTYPE>
ListIterator for an empty list :)| Constructor and Description |
|---|
EmptyListIterator() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(ELEMENTTYPE o) |
boolean |
equals(Object o) |
int |
hashCode() |
boolean |
hasNext() |
boolean |
hasPrevious() |
ELEMENTTYPE |
next() |
int |
nextIndex() |
ELEMENTTYPE |
previous() |
int |
previousIndex() |
void |
remove() |
void |
set(ELEMENTTYPE o) |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitforEachRemaining@UnsupportedOperation public void add(ELEMENTTYPE o)
add in interface ListIterator<ELEMENTTYPE>public boolean hasPrevious()
hasPrevious in interface ListIterator<ELEMENTTYPE>public ELEMENTTYPE previous()
previous in interface ListIterator<ELEMENTTYPE>public int previousIndex()
previousIndex in interface ListIterator<ELEMENTTYPE>public boolean hasNext()
hasNext in interface Iterator<ELEMENTTYPE>hasNext in interface ListIterator<ELEMENTTYPE>public ELEMENTTYPE next()
next in interface Iterator<ELEMENTTYPE>next in interface ListIterator<ELEMENTTYPE>public int nextIndex()
nextIndex in interface ListIterator<ELEMENTTYPE>@UnsupportedOperation public void remove()
remove in interface Iterator<ELEMENTTYPE>remove in interface ListIterator<ELEMENTTYPE>@UnsupportedOperation public void set(ELEMENTTYPE o)
set in interface ListIterator<ELEMENTTYPE>Copyright © 2014–2016 Philip Helger. All rights reserved.