|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectit.unimi.dsi.fastutil.ints.AbstractIntIterator
it.unimi.dsi.fastutil.ints.AbstractIntBidirectionalIterator
it.unimi.dsi.fastutil.ints.AbstractIntBigListIterator
it.unimi.dsi.fastutil.ints.IntBigListIterators.BigListIteratorListIterator
public static class IntBigListIterators.BigListIteratorListIterator
A class exposing a list iterator as a big-list iterator..
| Method Summary | |
|---|---|
void |
add(int ok)
This method just throws an UnsupportedOperationException. |
int |
back(int n)
This method just iterates the type-specific version of AbstractIntBidirectionalIterator.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 AbstractIntBidirectionalIterator.previous() for
at most n times, stopping if BidirectionalIterator.hasPrevious() becomes false. |
boolean |
hasNext()
|
boolean |
hasPrevious()
Returns whether there is a previous element. |
long |
nextIndex()
Returns the index of the element that would be returned by a subsequent call to next. |
int |
nextInt()
Delegates to the corresponding generic method. |
long |
previousIndex()
Returns the index of the element that would be returned by a subsequent call to previous. |
int |
previousInt()
Delegates to the corresponding generic method. |
void |
remove()
This method just throws an UnsupportedOperationException. |
void |
set(int ok)
This method just throws an UnsupportedOperationException. |
int |
skip(int n)
This method just iterates the type-specific version of AbstractIntIterator.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 AbstractIntIterator.next() for at most
n times, stopping if Iterator.hasNext() becomes false. |
| Methods inherited from class it.unimi.dsi.fastutil.ints.AbstractIntBigListIterator |
|---|
add, set |
| Methods inherited from class it.unimi.dsi.fastutil.ints.AbstractIntBidirectionalIterator |
|---|
previous |
| Methods inherited from class it.unimi.dsi.fastutil.ints.AbstractIntIterator |
|---|
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(int ok)
AbstractIntBigListIteratorUnsupportedOperationException.
set in interface IntBigListIteratorset in class AbstractIntBigListIteratorpublic void add(int ok)
AbstractIntBigListIteratorUnsupportedOperationException.
add in interface IntBigListIteratoradd in class AbstractIntBigListIteratorpublic int back(int n)
AbstractIntBidirectionalIteratorAbstractIntBidirectionalIterator.previous() for
at most n times, stopping if BidirectionalIterator.hasPrevious() becomes false.
back in interface IntBidirectionalIteratorback in interface ObjectBidirectionalIterator<java.lang.Integer>back in class AbstractIntBidirectionalIteratorn - the number of elements to skip back.
Iterator.next()public long back(long n)
AbstractIntBigListIteratorAbstractIntBidirectionalIterator.previous() for
at most n times, stopping if BidirectionalIterator.hasPrevious() becomes false.
back in class AbstractIntBigListIteratorpublic void remove()
AbstractIntIteratorUnsupportedOperationException.
remove in interface java.util.Iterator<java.lang.Integer>remove in class AbstractIntIteratorpublic int skip(int n)
AbstractIntIteratorAbstractIntIterator.next() for at most
n times, stopping if Iterator.hasNext() becomes false.
skip in interface IntIteratorskip in interface ObjectIterator<java.lang.Integer>skip in class AbstractIntIteratorn - the number of elements to skip.
Iterator.next()public long skip(long n)
AbstractIntBigListIteratorAbstractIntIterator.next() for at most
n times, stopping if Iterator.hasNext() becomes false.
skip in interface BigListIterator<java.lang.Integer>skip in class AbstractIntBigListIteratorn - the number of elements to skip.
public boolean hasNext()
public boolean hasPrevious()
BidirectionalIterator
ListIterator.hasPrevious()public int nextInt()
AbstractIntIterator
nextInt in interface IntIteratornextInt in class AbstractIntIteratorIterator.next()public int previousInt()
AbstractIntBidirectionalIterator
previousInt in interface IntBidirectionalIteratorpreviousInt in class AbstractIntBidirectionalIteratorListIterator.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 | ||||||||