|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectit.unimi.dsi.fastutil.booleans.AbstractBooleanIterator
it.unimi.dsi.fastutil.booleans.AbstractBooleanBidirectionalIterator
it.unimi.dsi.fastutil.booleans.AbstractBooleanBigListIterator
public abstract class AbstractBooleanBigListIterator
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.
ListIterator,
BigListIterator| Method Summary | |
|---|---|
void |
add(boolean k)
This method just throws an UnsupportedOperationException. |
void |
add(java.lang.Boolean ok)
Delegates to the corresponding type-specific method. |
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. |
void |
set(boolean k)
This method just throws an UnsupportedOperationException. |
void |
set(java.lang.Boolean ok)
Delegates to the corresponding type-specific method. |
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. |
| Methods inherited from class it.unimi.dsi.fastutil.booleans.AbstractBooleanBidirectionalIterator |
|---|
back, previous, previousBoolean |
| Methods inherited from class it.unimi.dsi.fastutil.booleans.AbstractBooleanIterator |
|---|
next, nextBoolean, remove, skip |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface it.unimi.dsi.fastutil.booleans.BooleanBidirectionalIterator |
|---|
back, previousBoolean |
| Methods inherited from interface it.unimi.dsi.fastutil.booleans.BooleanIterator |
|---|
nextBoolean, skip |
| Methods inherited from interface it.unimi.dsi.fastutil.objects.ObjectIterator |
|---|
skip |
| Methods inherited from interface it.unimi.dsi.fastutil.BidirectionalIterator |
|---|
hasPrevious, previous |
| Methods inherited from interface java.util.Iterator |
|---|
hasNext, next, remove |
| Methods inherited from interface it.unimi.dsi.fastutil.BigListIterator |
|---|
nextIndex, previousIndex |
| Method Detail |
|---|
public void set(java.lang.Boolean ok)
set in interface BooleanBigListIteratorpublic void add(java.lang.Boolean ok)
add in interface BooleanBigListIteratorpublic void set(boolean k)
UnsupportedOperationException.
set in interface BooleanBigListIteratorpublic void add(boolean k)
UnsupportedOperationException.
add in interface BooleanBigListIteratorpublic long skip(long n)
AbstractBooleanIterator.next() for at most
n times, stopping if Iterator.hasNext() becomes false.
skip in interface BigListIterator<java.lang.Boolean>n - the number of elements to skip.
public long back(long n)
AbstractBooleanBidirectionalIterator.previous() for
at most n times, stopping if BidirectionalIterator.hasPrevious() becomes false.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||