it.unimi.dsi.fastutil.booleans
Class AbstractBooleanBigListIterator
java.lang.Object
it.unimi.dsi.fastutil.booleans.AbstractBooleanIterator
it.unimi.dsi.fastutil.booleans.AbstractBooleanBidirectionalIterator
it.unimi.dsi.fastutil.booleans.AbstractBooleanBigListIterator
- All Implemented Interfaces:
- BidirectionalIterator<Boolean>, BigListIterator<Boolean>, BooleanBidirectionalIterator, BooleanBigListIterator, BooleanIterator, ObjectBidirectionalIterator<Boolean>, ObjectIterator<Boolean>, Iterator<Boolean>
- Direct Known Subclasses:
- BooleanBigListIterators.BigListIteratorListIterator, BooleanBigListIterators.EmptyBigListIterator, BooleanBigListIterators.UnmodifiableBigListIterator
public abstract class AbstractBooleanBigListIterator
- extends AbstractBooleanBidirectionalIterator
- implements BooleanBigListIterator
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 |
AbstractBooleanBigListIterator
protected AbstractBooleanBigListIterator()
set
public void set(Boolean ok)
- Delegates to the corresponding type-specific method.
- Specified by:
set in interface BooleanBigListIterator
add
public void add(Boolean ok)
- Delegates to the corresponding type-specific method.
- Specified by:
add in interface BooleanBigListIterator
set
public void set(boolean k)
- This method just throws an
UnsupportedOperationException.
- Specified by:
set in interface BooleanBigListIterator
add
public void add(boolean k)
- This method just throws an
UnsupportedOperationException.
- Specified by:
add in interface BooleanBigListIterator
skip
public long skip(long n)
- This method just iterates the type-specific version of
AbstractBooleanIterator.next() for at most
n times, stopping if Iterator.hasNext() becomes false.
- Specified by:
skip in interface BigListIterator<Boolean>
- 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
AbstractBooleanBidirectionalIterator.previous() for
at most n times, stopping if BidirectionalIterator.hasPrevious() becomes false.
Copyright © 2011. All Rights Reserved.