public abstract class AbstractLongListIterator extends AbstractLongBidirectionalIterator implements LongListIterator
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 and Type | Method and Description |
---|---|
void |
add(long k)
This method just throws an
UnsupportedOperationException . |
void |
add(java.lang.Long ok)
Delegates to the corresponding type-specific method.
|
void |
set(long k)
This method just throws an
UnsupportedOperationException . |
void |
set(java.lang.Long ok)
Delegates to the corresponding type-specific method.
|
back, previous, previousLong
next, nextLong, remove, skip
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
hasNext, hasPrevious, next, nextIndex, previous, previousIndex, remove
back, previousLong
nextLong, skip
skip
hasPrevious, previous
public void set(java.lang.Long ok)
set
in interface java.util.ListIterator<java.lang.Long>
public void add(java.lang.Long ok)
add
in interface java.util.ListIterator<java.lang.Long>
public void set(long k)
UnsupportedOperationException
.set
in interface LongListIterator
public void add(long k)
UnsupportedOperationException
.add
in interface LongListIterator