public static class FloatIterators.UnmodifiableListIterator extends Object implements FloatListIterator
| 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()
Returns the previous element as a primitive type.
|
int |
previousIndex() |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitadd, add, next, previous, remove, set, setback, skipforEachRemaining, forEachRemainingpublic UnmodifiableListIterator(FloatListIterator i)
public boolean hasNext()
public boolean hasPrevious()
BidirectionalIteratorhasPrevious in interface BidirectionalIterator<Float>hasPrevious in interface ListIterator<Float>ListIterator.hasPrevious()public float nextFloat()
FloatIteratornextFloat in interface FloatIteratorIterator.next()public float previousFloat()
FloatBidirectionalIteratorpreviousFloat in interface FloatBidirectionalIteratorListIterator.previous()public int nextIndex()
nextIndex in interface ListIterator<Float>public int previousIndex()
previousIndex in interface ListIterator<Float>