|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface DoubleBidirectionalIterator
A type-specific bidirectional iterator; provides an additional method to avoid (un)boxing, and the possibility to skip elements backwards.
BidirectionalIterator| Method Summary | |
|---|---|
int |
back(int n)
Moves back for the given number of elements. |
double |
previousDouble()
Returns the previous element as a primitive type. |
| Methods inherited from interface it.unimi.dsi.fastutil.doubles.DoubleIterator |
|---|
nextDouble, skip |
| Methods inherited from interface java.util.Iterator |
|---|
hasNext, next, remove |
| Methods inherited from interface it.unimi.dsi.fastutil.objects.ObjectIterator |
|---|
skip |
| Methods inherited from interface java.util.Iterator |
|---|
hasNext, next, remove |
| Methods inherited from interface it.unimi.dsi.fastutil.BidirectionalIterator |
|---|
hasPrevious, previous |
| Methods inherited from interface java.util.Iterator |
|---|
hasNext, next, remove |
| Method Detail |
|---|
double previousDouble()
ListIterator.previous()int back(int n)
The effect of this call is exactly the same as that of
calling BidirectionalIterator.previous() for n times (possibly stopping
if BidirectionalIterator.hasPrevious() becomes false).
back in interface ObjectBidirectionalIterator<Double>n - the number of elements to skip back.
Iterator.next()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||