|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectit.unimi.dsi.fastutil.longs.AbstractLongIterator
it.unimi.dsi.fastutil.longs.AbstractLongBidirectionalIterator
it.unimi.dsi.fastutil.longs.AbstractLongBigListIterator
it.unimi.dsi.fastutil.longs.LongBigListIterators.BigListIteratorListIterator
public static class LongBigListIterators.BigListIteratorListIterator
A class exposing a list iterator as a big-list iterator..
| Method Summary | |
|---|---|
void |
add(long ok)
This method just throws an UnsupportedOperationException. |
int |
back(int n)
This method just iterates the type-specific version of AbstractLongBidirectionalIterator.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 AbstractLongBidirectionalIterator.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. |
long |
nextLong()
Delegates to the corresponding generic method. |
long |
previousIndex()
Returns the index of the element that would be returned by a subsequent call to previous. |
long |
previousLong()
Delegates to the corresponding generic method. |
void |
remove()
This method just throws an UnsupportedOperationException. |
void |
set(long ok)
This method just throws an UnsupportedOperationException. |
int |
skip(int n)
This method just iterates the type-specific version of AbstractLongIterator.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 AbstractLongIterator.next() for at most
n times, stopping if Iterator.hasNext() becomes false. |
| Methods inherited from class it.unimi.dsi.fastutil.longs.AbstractLongBigListIterator |
|---|
add, set |
| Methods inherited from class it.unimi.dsi.fastutil.longs.AbstractLongBidirectionalIterator |
|---|
previous |
| Methods inherited from class it.unimi.dsi.fastutil.longs.AbstractLongIterator |
|---|
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(long ok)
AbstractLongBigListIteratorUnsupportedOperationException.
set in interface LongBigListIteratorset in class AbstractLongBigListIteratorpublic void add(long ok)
AbstractLongBigListIteratorUnsupportedOperationException.
add in interface LongBigListIteratoradd in class AbstractLongBigListIteratorpublic int back(int n)
AbstractLongBidirectionalIteratorAbstractLongBidirectionalIterator.previous() for
at most n times, stopping if BidirectionalIterator.hasPrevious() becomes false.
back in interface LongBidirectionalIteratorback in interface ObjectBidirectionalIterator<java.lang.Long>back in class AbstractLongBidirectionalIteratorn - the number of elements to skip back.
Iterator.next()public long back(long n)
AbstractLongBigListIteratorAbstractLongBidirectionalIterator.previous() for
at most n times, stopping if BidirectionalIterator.hasPrevious() becomes false.
back in class AbstractLongBigListIteratorpublic void remove()
AbstractLongIteratorUnsupportedOperationException.
remove in interface java.util.Iterator<java.lang.Long>remove in class AbstractLongIteratorpublic int skip(int n)
AbstractLongIteratorAbstractLongIterator.next() for at most
n times, stopping if Iterator.hasNext() becomes false.
skip in interface LongIteratorskip in interface ObjectIterator<java.lang.Long>skip in class AbstractLongIteratorn - the number of elements to skip.
Iterator.next()public long skip(long n)
AbstractLongBigListIteratorAbstractLongIterator.next() for at most
n times, stopping if Iterator.hasNext() becomes false.
skip in interface BigListIterator<java.lang.Long>skip in class AbstractLongBigListIteratorn - the number of elements to skip.
public boolean hasNext()
public boolean hasPrevious()
BidirectionalIterator
ListIterator.hasPrevious()public long nextLong()
AbstractLongIterator
nextLong in interface LongIteratornextLong in class AbstractLongIteratorIterator.next()public long previousLong()
AbstractLongBidirectionalIterator
previousLong in interface LongBidirectionalIteratorpreviousLong in class AbstractLongBidirectionalIteratorListIterator.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 | ||||||||