public abstract class AbstractFloatListIterator extends AbstractFloatBidirectionalIterator implements FloatListIterator
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(float k)
Inserts the specified element into the list (optional operation).
|
void |
add(Float ok)
Deprecated.
Please use the corresponding type-specific method instead.
|
void |
set(float k)
Replaces the last element returned by
ListIterator.next() or ListIterator.previous()
with the specified element (optional operation). |
void |
set(Float ok)
Deprecated.
Please use the corresponding type-specific method instead.
|
back, previous, previousFloatnext, nextFloat, remove, skipequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithasNext, hasPrevious, next, nextIndex, previous, previousIndex, removeback, previous, previousFloatnextFloat, skipskiphasPreviousforEachRemainingpublic void set(float k)
ListIterator.next() or ListIterator.previous()
with the specified element (optional operation).
This implementation always throws an
UnsupportedOperationException.
set in interface FloatListIteratork - the element used to replace the last element returned.ListIterator.set(Object)public void add(float 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 FloatListIteratork - the element to insert.ListIterator.add(Object)@Deprecated public void set(Float ok)
This implementation delegates to the corresponding type-specific method.
set in interface FloatListIteratorset in interface ListIterator<Float>@Deprecated public void add(Float ok)
This implementation delegates to the corresponding type-specific method.
add in interface FloatListIteratoradd in interface ListIterator<Float>