public abstract class AbstractFloatBigListIterator extends AbstractFloatBidirectionalIterator implements FloatBigListIterator
This implementation provides (deprecated) implementations of ListIterator.previousIndex()
and ListIterator.nextIndex()
that
just invoke the corresponding BigListIterator
methods.
ListIterator
,
BigListIterator
Modifier and Type | Method and Description |
---|---|
void |
add(float k)
This method just throws an
UnsupportedOperationException . |
void |
add(Float ok)
Delegates to the corresponding type-specific method.
|
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. |
void |
set(float k)
This method just throws an
UnsupportedOperationException . |
void |
set(Float ok)
Delegates to the corresponding type-specific method.
|
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. |
back, previous, previousFloat
next, nextFloat, remove, skip
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
back, previousFloat
nextFloat, skip
skip
hasPrevious, previous
nextIndex, previousIndex
public void set(Float ok)
set
in interface FloatBigListIterator
public void add(Float ok)
add
in interface FloatBigListIterator
public void set(float k)
UnsupportedOperationException
.set
in interface FloatBigListIterator
public void add(float k)
UnsupportedOperationException
.add
in interface FloatBigListIterator
public long skip(long n)
AbstractFloatIterator.next()
for at most
n
times, stopping if Iterator.hasNext()
becomes false.skip
in interface BigListIterator<Float>
n
- the number of elements to skip.public long back(long n)
AbstractFloatBidirectionalIterator.previous()
for
at most n
times, stopping if BidirectionalIterator.hasPrevious()
becomes false.