it.unimi.dsi.fastutil.floats
Class AbstractFloatBigListIterator
java.lang.Object
it.unimi.dsi.fastutil.floats.AbstractFloatIterator
it.unimi.dsi.fastutil.floats.AbstractFloatBidirectionalIterator
it.unimi.dsi.fastutil.floats.AbstractFloatBigListIterator
- All Implemented Interfaces:
- BidirectionalIterator<Float>, BigListIterator<Float>, FloatBidirectionalIterator, FloatBigListIterator, FloatIterator, ObjectBidirectionalIterator<Float>, ObjectIterator<Float>, Iterator<Float>
- Direct Known Subclasses:
- FloatBigListIterators.BigListIteratorListIterator, FloatBigListIterators.EmptyBigListIterator, FloatBigListIterators.UnmodifiableBigListIterator
public abstract class AbstractFloatBigListIterator
- extends AbstractFloatBidirectionalIterator
- implements FloatBigListIterator
An abstract class facilitating the creation of type-specific big-list iterators.
This implementation provides (deprecated) implementations of ListIterator.previousIndex() and ListIterator.nextIndex() that
just invoke the corresponding BigListIterator methods.
- See Also:
ListIterator,
BigListIterator
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractFloatBigListIterator
protected AbstractFloatBigListIterator()
set
public void set(Float ok)
- Delegates to the corresponding type-specific method.
- Specified by:
set in interface FloatBigListIterator
add
public void add(Float ok)
- Delegates to the corresponding type-specific method.
- Specified by:
add in interface FloatBigListIterator
set
public void set(float k)
- This method just throws an
UnsupportedOperationException.
- Specified by:
set in interface FloatBigListIterator
add
public void add(float k)
- This method just throws an
UnsupportedOperationException.
- Specified by:
add in interface FloatBigListIterator
skip
public 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.
- Specified by:
skip in interface BigListIterator<Float>
- Parameters:
n - the number of elements to skip.
- Returns:
- the number of elements actually skipped.
back
public 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.
Copyright © 2011. All Rights Reserved.