public interface FloatBidirectionalIterator extends FloatIterator, ObjectBidirectionalIterator<Float>
BidirectionalIterator| Modifier and Type | Method and Description |
|---|---|
default int |
back(int n)
Moves back for the given number of elements.
|
default Float |
previous()
Deprecated.
Please use the corresponding type-specific method instead.
|
float |
previousFloat()
Returns the previous element as a primitive type.
|
default int |
skip(int n)
Skips the given number of elements.
|
forEachRemaining, forEachRemaining, next, nextFloathasPreviousfloat previousFloat()
ListIterator.previous()@Deprecated default Float previous()
previous in interface BidirectionalIterator<Float>ListIterator.previous()default int back(int n)
The effect of this call is exactly the same as that of
calling previous() for n times (possibly stopping
if BidirectionalIterator.hasPrevious() becomes false).
back in interface ObjectBidirectionalIterator<Float>n - the number of elements to skip back.previous()default int skip(int n)
The effect of this call is exactly the same as that of calling FloatIterator.next() for n times (possibly stopping if Iterator.hasNext() becomes false).
skip in interface FloatIteratorskip in interface ObjectBidirectionalIterator<Float>skip in interface ObjectIterator<Float>n - the number of elements to skip.Iterator.next()Copyright © 2020. All rights reserved.