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, set
previous
next
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
previous
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<java.lang.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 java.util.Iterator<java.lang.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<java.lang.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<java.lang.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()