java.util
static class: Collections.EmptyListIterator [javadoc |
source]
java.lang.Object
java.util.Collections$EmptyIterator
java.util.Collections$EmptyListIterator
All Implemented Interfaces:
ListIterator, Iterator
| Field Summary |
|---|
| static final Collections.EmptyListIterator | EMPTY_ITERATOR | |
| Methods from java.lang.Object: |
|---|
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method from java.util.Collections$EmptyListIterator Detail: |
public void add(E e) {
throw new UnsupportedOperationException();
}
|
public boolean hasPrevious() {
return false;
}
|
public int nextIndex() {
return 0;
}
|
public E previous() {
throw new NoSuchElementException();
}
|
public int previousIndex() {
return -1;
}
|
public void set(E e) {
throw new IllegalStateException();
}
|