|
|||||||||
| 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
it.unimi.dsi.fastutil.booleans.BooleanBigListIterators.BigListIteratorListIterator
public static class BooleanBigListIterators.BigListIteratorListIterator
A class exposing a list iterator as a big-list iterator..
| Method Summary | |
|---|---|
void |
add(boolean ok)
This method just throws an UnsupportedOperationException. |
int |
back(int n)
This method just iterates the type-specific version of AbstractBooleanBidirectionalIterator.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 AbstractBooleanBidirectionalIterator.previous() for
at most n times, stopping if BidirectionalIterator.hasPrevious() becomes false. |
boolean |
hasNext()
|
boolean |
hasPrevious()
Returns whether there is a previous element. |
boolean |
nextBoolean()
Delegates to the corresponding generic method. |
long |
nextIndex()
Returns the index of the element that would be returned by a subsequent call to next. |
boolean |
previousBoolean()
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(boolean ok)
This method just throws an UnsupportedOperationException. |
int |
skip(int n)
This method just iterates the type-specific version of AbstractBooleanIterator.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 AbstractBooleanIterator.next() for at most
n times, stopping if Iterator.hasNext() becomes false. |
| Methods inherited from class it.unimi.dsi.fastutil.booleans.AbstractBooleanBigListIterator |
|---|
add, set |
| Methods inherited from class it.unimi.dsi.fastutil.booleans.AbstractBooleanBidirectionalIterator |
|---|
previous |
| Methods inherited from class it.unimi.dsi.fastutil.booleans.AbstractBooleanIterator |
|---|
next |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface it.unimi.dsi.fastutil.BidirectionalIterator |
|---|
previous |
| Methods inherited from interface java.util.Iterator |
|---|
next |
| Method Detail |
|---|
public void set(boolean ok)
AbstractBooleanBigListIteratorUnsupportedOperationException.
set in interface BooleanBigListIteratorset in class AbstractBooleanBigListIteratorpublic void add(boolean ok)
AbstractBooleanBigListIteratorUnsupportedOperationException.
add in interface BooleanBigListIteratoradd in class AbstractBooleanBigListIteratorpublic int back(int n)
AbstractBooleanBidirectionalIteratorAbstractBooleanBidirectionalIterator.previous() for
at most n times, stopping if BidirectionalIterator.hasPrevious() becomes false.
back in interface BooleanBidirectionalIteratorback in interface ObjectBidirectionalIterator<java.lang.Boolean>back in class AbstractBooleanBidirectionalIteratorn - the number of elements to skip back.
Iterator.next()public long back(long n)
AbstractBooleanBigListIteratorAbstractBooleanBidirectionalIterator.previous() for
at most n times, stopping if BidirectionalIterator.hasPrevious() becomes false.
back in class AbstractBooleanBigListIteratorpublic void remove()
AbstractBooleanIteratorUnsupportedOperationException.
remove in interface java.util.Iterator<java.lang.Boolean>remove in class AbstractBooleanIteratorpublic int skip(int n)
AbstractBooleanIteratorAbstractBooleanIterator.next() for at most
n times, stopping if Iterator.hasNext() becomes false.
skip in interface BooleanIteratorskip in interface ObjectIterator<java.lang.Boolean>skip in class AbstractBooleanIteratorn - the number of elements to skip.
Iterator.next()public long skip(long n)
AbstractBooleanBigListIteratorAbstractBooleanIterator.next() for at most
n times, stopping if Iterator.hasNext() becomes false.
skip in interface BigListIterator<java.lang.Boolean>skip in class AbstractBooleanBigListIteratorn - the number of elements to skip.
public boolean hasNext()
public boolean hasPrevious()
BidirectionalIterator
ListIterator.hasPrevious()public boolean nextBoolean()
AbstractBooleanIterator
nextBoolean in interface BooleanIteratornextBoolean in class AbstractBooleanIteratorIterator.next()public boolean previousBoolean()
AbstractBooleanBidirectionalIterator
previousBoolean in interface BooleanBidirectionalIteratorpreviousBoolean in class AbstractBooleanBidirectionalIteratorListIterator.previous()public long nextIndex()
BigListIterator
ListIterator.nextIndex()public long previousIndex()
BigListIterator
ListIterator.previousIndex()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||