public static class FloatBigListIterators.BigListIteratorListIterator extends AbstractFloatBigListIterator
| Modifier and Type | Method and Description |
|---|---|
void |
add(float ok)
Inserts the specified element into the list (optional operation).
|
int |
back(int n)
Moves back for the given number of elements.
|
long |
back(long n)
This implemntation 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()
Returns the next element as a primitive type.
|
long |
nextIndex()
Returns the index of the element that would be returned by a subsequent call to next.
|
float |
previousFloat()
This implementation delegates to
AbstractFloatBidirectionalIterator.previous(). |
long |
previousIndex()
Returns the index of the element that would be returned by a subsequent call to previous.
|
void |
remove()
This implementation always throws an
UnsupportedOperationException. |
void |
set(float ok)
Replaces the last element returned by
FloatIterator.next() or
FloatBidirectionalIterator.previous() with the specified element (optional operation). |
int |
skip(int n)
Skips the given number of elements.
|
long |
skip(long n)
Skips the given number of elements.
|
add, setpreviousnextequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpreviousnextforEachRemainingpublic void set(float ok)
AbstractFloatBigListIteratorFloatIterator.next() or
FloatBidirectionalIterator.previous() with the specified element (optional operation).
This implementation always throws an
UnsupportedOperationException.
set in interface FloatBigListIteratorset in class AbstractFloatBigListIteratorListIterator.set(Object)public void add(float ok)
AbstractFloatBigListIterator
This implementation always throws an
UnsupportedOperationException.
add in interface FloatBigListIteratoradd in class AbstractFloatBigListIteratorListIterator.add(Object)public int back(int n)
AbstractFloatBidirectionalIterator
The effect of this call is exactly the same as that of calling
FloatBidirectionalIterator.previous() for n times (possibly stopping if
BidirectionalIterator.hasPrevious() becomes false).
This implemntation iterates the type-specific version of
AbstractFloatBidirectionalIterator.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 backwards.AbstractFloatBidirectionalIterator.previous()public long back(long n)
AbstractFloatBigListIterator
This implemntation iterates the type-specific version of
AbstractFloatBidirectionalIterator.previous() for at most n times, stopping if
BidirectionalIterator.hasPrevious() becomes false.
back in class AbstractFloatBigListIteratorn - the number of elements to skip backwards.public void remove()
AbstractFloatIterator
This implementation always throws an
UnsupportedOperationException.
remove in interface Iterator<Float>remove in class AbstractFloatIteratorpublic int skip(int n)
AbstractFloatIterator
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).
This implementaion iterates the type-specific version of AbstractFloatIterator.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)
AbstractFloatBigListIteratorThe effect of this call is exactly the same as that of
calling Iterator.next() for n times (possibly stopping
if Iterator.hasNext() becomes false).
This implementaion iterates the type-specific version of AbstractFloatIterator.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()
AbstractFloatIteratorThis implementation delegates to the corresponding generic method.
nextFloat in interface FloatIteratornextFloat in class AbstractFloatIteratorIterator.next()public float previousFloat()
AbstractFloatBidirectionalIterator
This implementation delegates to AbstractFloatBidirectionalIterator.previous().
previousFloat in interface FloatBidirectionalIteratorpreviousFloat in class AbstractFloatBidirectionalIteratorListIterator.previous()public long nextIndex()
BigListIteratorListIterator.nextIndex()public long previousIndex()
BigListIteratorListIterator.previousIndex()