BidirectionalIterator<java.lang.Integer>, IntBidirectionalIterator, IntIterator, IntListIterator, ObjectBidirectionalIterator<java.lang.Integer>, ObjectIterator<java.lang.Integer>, java.util.Iterator<java.lang.Integer>, java.util.ListIterator<java.lang.Integer>IntIterators.EmptyIterator, IntIterators.UnmodifiableListIteratorpublic abstract class AbstractIntListIterator extends AbstractIntBidirectionalIterator implements IntListIterator
This class provides trivial type-specific implementations of
set() and
add() which throw an
UnsupportedOperationException. For primitive types, it also provides
a trivial implementation of set()
and add() that just invokes the
type-specific one.
ListIterator| Modifier | Constructor | Description |
|---|---|---|
protected |
AbstractIntListIterator() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
add(int k) |
This method just throws an
UnsupportedOperationException. |
void |
add(java.lang.Integer ok) |
Delegates to the corresponding type-specific method.
|
void |
set(int k) |
This method just throws an
UnsupportedOperationException. |
void |
set(java.lang.Integer ok) |
Delegates to the corresponding type-specific method.
|
back, previous, previousIntnext, nextInt, remove, skiphasPrevious, previousback, previousIntnextInt, skiphasNext, hasPrevious, next, nextIndex, previous, previousIndex, removeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitskippublic void set(java.lang.Integer ok)
set in interface java.util.ListIterator<java.lang.Integer>public void add(java.lang.Integer ok)
add in interface java.util.ListIterator<java.lang.Integer>public void set(int k)
UnsupportedOperationException.set in interface IntListIteratorpublic void add(int k)
UnsupportedOperationException.add in interface IntListIterator