|
||||||||||
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..
Field Summary | |
---|---|
protected LongListIterator |
i
|
Constructor Summary | |
---|---|
protected |
LongBigListIterators.BigListIteratorListIterator(LongListIterator i)
|
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 |
---|
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 LongListIterator i
Constructor Detail |
---|
protected LongBigListIterators.BigListIteratorListIterator(LongListIterator i)
Method Detail |
---|
public void set(long ok)
AbstractLongBigListIterator
UnsupportedOperationException
.
set
in interface LongBigListIterator
set
in class AbstractLongBigListIterator
public void add(long ok)
AbstractLongBigListIterator
UnsupportedOperationException
.
add
in interface LongBigListIterator
add
in class AbstractLongBigListIterator
public int back(int n)
AbstractLongBidirectionalIterator
AbstractLongBidirectionalIterator.previous()
for
at most n
times, stopping if BidirectionalIterator.hasPrevious()
becomes false.
back
in interface LongBidirectionalIterator
back
in interface ObjectBidirectionalIterator<Long>
back
in class AbstractLongBidirectionalIterator
n
- the number of elements to skip back.
Iterator.next()
public long back(long n)
AbstractLongBigListIterator
AbstractLongBidirectionalIterator.previous()
for
at most n
times, stopping if BidirectionalIterator.hasPrevious()
becomes false.
back
in class AbstractLongBigListIterator
public void remove()
AbstractLongIterator
UnsupportedOperationException
.
remove
in interface Iterator<Long>
remove
in class AbstractLongIterator
public int skip(int n)
AbstractLongIterator
AbstractLongIterator.next()
for at most
n
times, stopping if Iterator.hasNext()
becomes false.
skip
in interface LongIterator
skip
in interface ObjectIterator<Long>
skip
in class AbstractLongIterator
n
- the number of elements to skip.
Iterator.next()
public long skip(long n)
AbstractLongBigListIterator
AbstractLongIterator.next()
for at most
n
times, stopping if Iterator.hasNext()
becomes false.
skip
in interface BigListIterator<Long>
skip
in class AbstractLongBigListIterator
n
- the number of elements to skip.
public boolean hasNext()
public boolean hasPrevious()
BidirectionalIterator
ListIterator.hasPrevious()
public long nextLong()
AbstractLongIterator
nextLong
in interface LongIterator
nextLong
in class AbstractLongIterator
Iterator.next()
public long previousLong()
AbstractLongBidirectionalIterator
previousLong
in interface LongBidirectionalIterator
previousLong
in class AbstractLongBidirectionalIterator
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 |