public abstract class AbstractByteListIterator extends AbstractByteBidirectionalIterator implements ByteListIterator
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(byte k)
Inserts the specified element into the list (optional operation).
|
void |
add(Byte ok)
Deprecated.
Please use the corresponding type-specific method instead.
|
void |
set(byte k)
Replaces the last element returned by
ListIterator.next() or ListIterator.previous()
with the specified element (optional operation). |
void |
set(Byte ok)
Deprecated.
Please use the corresponding type-specific method instead.
|
back, previous, previousBytenext, nextByte, remove, skipequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithasNext, hasPrevious, next, nextIndex, previous, previousIndex, removeback, previous, previousBytenextByte, skipskiphasPreviousforEachRemainingpublic void set(byte k)
ListIterator.next() or ListIterator.previous()
with the specified element (optional operation).
This implementation always throws an
UnsupportedOperationException.
set in interface ByteListIteratork - the element used to replace the last element returned.ListIterator.set(Object)public void add(byte k)
ListIterator.next(), if any, and after the element that would be returned by
ListIterator.previous(), if any.
This implementation always throws an
UnsupportedOperationException.
add in interface ByteListIteratork - the element to insert.ListIterator.add(Object)@Deprecated public void set(Byte ok)
This implementation delegates to the corresponding type-specific method.
set in interface ByteListIteratorset in interface ListIterator<Byte>@Deprecated public void add(Byte ok)
This implementation delegates to the corresponding type-specific method.
add in interface ByteListIteratoradd in interface ListIterator<Byte>