public interface FloatBidirectionalIterator extends FloatIterator, ObjectBidirectionalIterator<java.lang.Float>
ObjectBidirectionalIterator to reduce (un)boxing| Modifier and Type | Method and Description |
|---|---|
default int |
back(int amount)
Reverses the Given amount of elements if possible.
|
boolean |
hasPrevious()
Returns true if the Iterator has a Previous element
|
default java.lang.Float |
previous()
Deprecated.
Please use the corresponding type-specific function instead.
|
float |
previousFloat()
Returns the Previous element of the iterator.
|
default int |
skip(int amount)
Skips the Given amount of elements if possible.
|
forEachRemaining, forEachRemaining, next, nextFloatboolean hasPrevious()
hasPrevious in interface ObjectBidirectionalIterator<java.lang.Float>float previousFloat()
java.util.NoSuchElementException - if the iteration has no more elements@Deprecated default java.lang.Float previous()
This default implementation delegates to the corresponding type-specific function.
previous in interface ObjectBidirectionalIterator<java.lang.Float>default int skip(int amount)
skip in interface FloatIteratorskip in interface ObjectIterator<java.lang.Float>amount - the amount of elements that should be skippeddefault int back(int amount)
back in interface ObjectBidirectionalIterator<java.lang.Float>amount - the amount of elements that should be reversed