|
||||||||||
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..
Field Summary | |
---|---|
protected BooleanListIterator |
i
|
Constructor Summary | |
---|---|
protected |
BooleanBigListIterators.BigListIteratorListIterator(BooleanListIterator i)
|
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 |
---|
clone, equals, finalize, 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 |
Field Detail |
---|
protected final BooleanListIterator i
Constructor Detail |
---|
protected BooleanBigListIterators.BigListIteratorListIterator(BooleanListIterator i)
Method Detail |
---|
public void set(boolean ok)
AbstractBooleanBigListIterator
UnsupportedOperationException
.
set
in interface BooleanBigListIterator
set
in class AbstractBooleanBigListIterator
public void add(boolean ok)
AbstractBooleanBigListIterator
UnsupportedOperationException
.
add
in interface BooleanBigListIterator
add
in class AbstractBooleanBigListIterator
public int back(int n)
AbstractBooleanBidirectionalIterator
AbstractBooleanBidirectionalIterator.previous()
for
at most n
times, stopping if BidirectionalIterator.hasPrevious()
becomes false.
back
in interface BooleanBidirectionalIterator
back
in interface ObjectBidirectionalIterator<Boolean>
back
in class AbstractBooleanBidirectionalIterator
n
- the number of elements to skip back.
Iterator.next()
public long back(long n)
AbstractBooleanBigListIterator
AbstractBooleanBidirectionalIterator.previous()
for
at most n
times, stopping if BidirectionalIterator.hasPrevious()
becomes false.
back
in class AbstractBooleanBigListIterator
public void remove()
AbstractBooleanIterator
UnsupportedOperationException
.
remove
in interface Iterator<Boolean>
remove
in class AbstractBooleanIterator
public int skip(int n)
AbstractBooleanIterator
AbstractBooleanIterator.next()
for at most
n
times, stopping if Iterator.hasNext()
becomes false.
skip
in interface BooleanIterator
skip
in interface ObjectIterator<Boolean>
skip
in class AbstractBooleanIterator
n
- the number of elements to skip.
Iterator.next()
public long skip(long n)
AbstractBooleanBigListIterator
AbstractBooleanIterator.next()
for at most
n
times, stopping if Iterator.hasNext()
becomes false.
skip
in interface BigListIterator<Boolean>
skip
in class AbstractBooleanBigListIterator
n
- the number of elements to skip.
public boolean hasNext()
public boolean hasPrevious()
BidirectionalIterator
ListIterator.hasPrevious()
public boolean nextBoolean()
AbstractBooleanIterator
nextBoolean
in interface BooleanIterator
nextBoolean
in class AbstractBooleanIterator
Iterator.next()
public boolean previousBoolean()
AbstractBooleanBidirectionalIterator
previousBoolean
in interface BooleanBidirectionalIterator
previousBoolean
in class AbstractBooleanBidirectionalIterator
ListIterator.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 |