protected class AbstractEList.NonResolvingEListIterator<E1> extends AbstractEList.EListIterator<E1>
resolve
objects.cursor, expectedModCount, lastCursor
Constructor and Description |
---|
AbstractEList.NonResolvingEListIterator()
Creates an instance.
|
AbstractEList.NonResolvingEListIterator(int index)
Creates an instance advanced to the index.
|
Modifier and Type | Method and Description |
---|---|
void |
add(E1 object)
Throws an exception.
|
protected E |
doNext()
Returns the next object and advances the iterator.
|
protected E |
doPrevious()
Returns the previous object and advances the iterator.
|
void |
remove()
Throws an exception.
|
void |
set(E1 object)
Throws an exception.
|
doAdd, doSet, hasPrevious, nextIndex, previous, previousIndex
checkModCount, hasNext, next
public AbstractEList.NonResolvingEListIterator()
public AbstractEList.NonResolvingEListIterator(int index)
index
- the starting index.protected E doNext()
doNext
in class AbstractEList.EIterator<E1>
java.util.NoSuchElementException
- if the iterator is done.protected E doPrevious()
doPrevious
in class AbstractEList.EListIterator<E1>
java.util.NoSuchElementException
- if the iterator is done.public void remove()
remove
in interface java.util.Iterator<E1>
remove
in interface java.util.ListIterator<E1>
remove
in class AbstractEList.EIterator<E1>
java.lang.UnsupportedOperationException
- always because it's not supported.public void set(E1 object)
set
in interface java.util.ListIterator<E1>
set
in class AbstractEList.EListIterator<E1>
object
- the object to set.java.lang.UnsupportedOperationException
- always because it's not supported.public void add(E1 object)
add
in interface java.util.ListIterator<E1>
add
in class AbstractEList.EListIterator<E1>
object
- the object to add.java.lang.UnsupportedOperationException
- always because it's not supported.