public static class FloatIterators.UnmodifiableListIterator extends AbstractFloatListIterator
| Constructor and Description |
|---|
UnmodifiableListIterator(FloatListIterator i) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
boolean |
hasPrevious()
Returns whether there is a previous element.
|
float |
nextFloat()
Returns the next element as a primitive type.
|
int |
nextIndex() |
float |
previousFloat()
This implementation delegates to
AbstractFloatBidirectionalIterator.previous(). |
int |
previousIndex() |
add, add, set, setback, previousnext, remove, skipequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitnext, previous, removeback, previousskipskipforEachRemainingpublic UnmodifiableListIterator(FloatListIterator i)
public boolean hasNext()
public boolean hasPrevious()
BidirectionalIteratorListIterator.hasPrevious()public float nextFloat()
AbstractFloatIteratorThis implementation delegates to the corresponding generic method.
nextFloat in interface FloatIteratornextFloat in class AbstractFloatIteratorIterator.next()public float previousFloat()
AbstractFloatBidirectionalIterator
This implementation delegates to AbstractFloatBidirectionalIterator.previous().
previousFloat in interface FloatBidirectionalIteratorpreviousFloat in class AbstractFloatBidirectionalIteratorListIterator.previous()public int nextIndex()
public int previousIndex()