public static class FloatBigListIterators.BigListIteratorListIterator extends AbstractFloatBigListIterator
| Modifier and Type | Method and Description |
|---|---|
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. |
add, setpreviousnextequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpreviousforEachRemaining, nextpublic void set(float ok)
AbstractFloatBigListIteratorUnsupportedOperationException.set in interface FloatBigListIteratorset in class AbstractFloatBigListIteratorpublic void add(float ok)
AbstractFloatBigListIteratorUnsupportedOperationException.add in interface FloatBigListIteratoradd in class AbstractFloatBigListIteratorpublic int back(int n)
AbstractFloatBidirectionalIteratorAbstractFloatBidirectionalIterator.previous() for at most n times, stopping if BidirectionalIterator.hasPrevious() becomes false.back in interface FloatBidirectionalIteratorback in interface ObjectBidirectionalIterator<Float>back in class AbstractFloatBidirectionalIteratorn - the number of elements to skip back.Iterator.next()public long back(long n)
AbstractFloatBigListIteratorAbstractFloatBidirectionalIterator.previous() for at most n times, stopping if BidirectionalIterator.hasPrevious() becomes false.back in class AbstractFloatBigListIteratorpublic void remove()
AbstractFloatIteratorUnsupportedOperationException.remove in interface Iterator<Float>remove in class AbstractFloatIteratorpublic int skip(int n)
AbstractFloatIteratorAbstractFloatIterator.next() for at most n times, stopping if Iterator.hasNext() becomes false.skip in interface FloatIteratorskip in interface ObjectIterator<Float>skip in class AbstractFloatIteratorn - the number of elements to skip.Iterator.next()public long skip(long n)
AbstractFloatBigListIteratorAbstractFloatIterator.next() for at most n times, stopping if Iterator.hasNext() becomes false.skip in interface BigListIterator<Float>skip in class AbstractFloatBigListIteratorn - the number of elements to skip.public boolean hasNext()
public boolean hasPrevious()
BidirectionalIteratorListIterator.hasPrevious()public float nextFloat()
AbstractFloatIteratornextFloat in interface FloatIteratornextFloat in class AbstractFloatIteratorIterator.next()public float previousFloat()
AbstractFloatBidirectionalIteratorpreviousFloat in interface FloatBidirectionalIteratorpreviousFloat in class AbstractFloatBidirectionalIteratorListIterator.previous()public long nextIndex()
BigListIteratorListIterator.nextIndex()public long previousIndex()
BigListIteratorListIterator.previousIndex()