ELEMENTTYPE - The type of the list iterator@ThreadSafe public final class EmptyListIterator<ELEMENTTYPE> extends Object implements ListIterator<ELEMENTTYPE>
ListIterator for an empty list :)| Modifier and Type | Method and Description |
|---|---|
void |
add(ELEMENTTYPE o) |
boolean |
equals(Object o) |
static <ELEMENTTYPE> |
getInstance() |
int |
hashCode() |
boolean |
hasNext() |
boolean |
hasPrevious() |
ELEMENTTYPE |
next() |
int |
nextIndex() |
ELEMENTTYPE |
previous() |
int |
previousIndex() |
void |
remove() |
void |
set(ELEMENTTYPE o) |
String |
toString() |
@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>@Nonnull public static <ELEMENTTYPE> EmptyListIterator<ELEMENTTYPE> getInstance()
Copyright © 2006–2015 phloc systems. All rights reserved.