|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectit.unimi.dsi.fastutil.floats.AbstractFloatIterator
it.unimi.dsi.fastutil.floats.AbstractFloatBidirectionalIterator
it.unimi.dsi.fastutil.floats.AbstractFloatBigListIterator
it.unimi.dsi.fastutil.floats.FloatBigListIterators.BigListIteratorListIterator
public static class FloatBigListIterators.BigListIteratorListIterator
A class exposing a list iterator as a big-list iterator..
Field Summary | |
---|---|
protected FloatListIterator |
i
|
Constructor Summary | |
---|---|
protected |
FloatBigListIterators.BigListIteratorListIterator(FloatListIterator i)
|
Method Summary | |
---|---|
void |
add(float ok)
This method just throws an UnsupportedOperationException . |
int |
back(int n)
This method just iterates the type-specific version of AbstractFloatBidirectionalIterator.previous() for
at most n times, stopping if BidirectionalIterator.hasPrevious() becomes false. |
long |
back(long n)
This method just iterates the type-specific version of AbstractFloatBidirectionalIterator.previous() for
at most n times, stopping if BidirectionalIterator.hasPrevious() becomes false. |
boolean |
hasNext()
|
boolean |
hasPrevious()
Returns whether there is a previous element. |
float |
nextFloat()
Delegates to the corresponding generic method. |
long |
nextIndex()
Returns the index of the element that would be returned by a subsequent call to next. |
float |
previousFloat()
Delegates to the corresponding generic method. |
long |
previousIndex()
Returns the index of the element that would be returned by a subsequent call to previous. |
void |
remove()
This method just throws an UnsupportedOperationException . |
void |
set(float ok)
This method just throws an UnsupportedOperationException . |
int |
skip(int n)
This method just iterates the type-specific version of AbstractFloatIterator.next() for at most
n times, stopping if Iterator.hasNext() becomes false. |
long |
skip(long n)
This method just iterates the type-specific version of AbstractFloatIterator.next() for at most
n times, stopping if Iterator.hasNext() becomes false. |
Methods inherited from class it.unimi.dsi.fastutil.floats.AbstractFloatBigListIterator |
---|
add, set |
Methods inherited from class it.unimi.dsi.fastutil.floats.AbstractFloatBidirectionalIterator |
---|
previous |
Methods inherited from class it.unimi.dsi.fastutil.floats.AbstractFloatIterator |
---|
next |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface it.unimi.dsi.fastutil.BidirectionalIterator |
---|
previous |
Methods inherited from interface java.util.Iterator |
---|
next |
Field Detail |
---|
protected final FloatListIterator i
Constructor Detail |
---|
protected FloatBigListIterators.BigListIteratorListIterator(FloatListIterator i)
Method Detail |
---|
public void set(float ok)
AbstractFloatBigListIterator
UnsupportedOperationException
.
set
in interface FloatBigListIterator
set
in class AbstractFloatBigListIterator
public void add(float ok)
AbstractFloatBigListIterator
UnsupportedOperationException
.
add
in interface FloatBigListIterator
add
in class AbstractFloatBigListIterator
public int back(int n)
AbstractFloatBidirectionalIterator
AbstractFloatBidirectionalIterator.previous()
for
at most n
times, stopping if BidirectionalIterator.hasPrevious()
becomes false.
back
in interface FloatBidirectionalIterator
back
in interface ObjectBidirectionalIterator<Float>
back
in class AbstractFloatBidirectionalIterator
n
- the number of elements to skip back.
Iterator.next()
public long back(long n)
AbstractFloatBigListIterator
AbstractFloatBidirectionalIterator.previous()
for
at most n
times, stopping if BidirectionalIterator.hasPrevious()
becomes false.
back
in class AbstractFloatBigListIterator
public void remove()
AbstractFloatIterator
UnsupportedOperationException
.
remove
in interface Iterator<Float>
remove
in class AbstractFloatIterator
public int skip(int n)
AbstractFloatIterator
AbstractFloatIterator.next()
for at most
n
times, stopping if Iterator.hasNext()
becomes false.
skip
in interface FloatIterator
skip
in interface ObjectIterator<Float>
skip
in class AbstractFloatIterator
n
- the number of elements to skip.
Iterator.next()
public long skip(long n)
AbstractFloatBigListIterator
AbstractFloatIterator.next()
for at most
n
times, stopping if Iterator.hasNext()
becomes false.
skip
in interface BigListIterator<Float>
skip
in class AbstractFloatBigListIterator
n
- the number of elements to skip.
public boolean hasNext()
public boolean hasPrevious()
BidirectionalIterator
ListIterator.hasPrevious()
public float nextFloat()
AbstractFloatIterator
nextFloat
in interface FloatIterator
nextFloat
in class AbstractFloatIterator
Iterator.next()
public float previousFloat()
AbstractFloatBidirectionalIterator
previousFloat
in interface FloatBidirectionalIterator
previousFloat
in class AbstractFloatBidirectionalIterator
ListIterator.previous()
public long nextIndex()
BigListIterator
ListIterator.nextIndex()
public long previousIndex()
BigListIterator
ListIterator.previousIndex()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |