|
||||||||||
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..
Field Summary | |
---|---|
protected IntListIterator |
i
|
Constructor Summary | |
---|---|
protected |
IntBigListIterators.BigListIteratorListIterator(IntListIterator i)
|
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 |
---|
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 IntListIterator i
Constructor Detail |
---|
protected IntBigListIterators.BigListIteratorListIterator(IntListIterator i)
Method Detail |
---|
public void set(int ok)
AbstractIntBigListIterator
UnsupportedOperationException
.
set
in interface IntBigListIterator
set
in class AbstractIntBigListIterator
public void add(int ok)
AbstractIntBigListIterator
UnsupportedOperationException
.
add
in interface IntBigListIterator
add
in class AbstractIntBigListIterator
public int back(int n)
AbstractIntBidirectionalIterator
AbstractIntBidirectionalIterator.previous()
for
at most n
times, stopping if BidirectionalIterator.hasPrevious()
becomes false.
back
in interface IntBidirectionalIterator
back
in interface ObjectBidirectionalIterator<Integer>
back
in class AbstractIntBidirectionalIterator
n
- the number of elements to skip back.
Iterator.next()
public long back(long n)
AbstractIntBigListIterator
AbstractIntBidirectionalIterator.previous()
for
at most n
times, stopping if BidirectionalIterator.hasPrevious()
becomes false.
back
in class AbstractIntBigListIterator
public void remove()
AbstractIntIterator
UnsupportedOperationException
.
remove
in interface Iterator<Integer>
remove
in class AbstractIntIterator
public int skip(int n)
AbstractIntIterator
AbstractIntIterator.next()
for at most
n
times, stopping if Iterator.hasNext()
becomes false.
skip
in interface IntIterator
skip
in interface ObjectIterator<Integer>
skip
in class AbstractIntIterator
n
- the number of elements to skip.
Iterator.next()
public long skip(long n)
AbstractIntBigListIterator
AbstractIntIterator.next()
for at most
n
times, stopping if Iterator.hasNext()
becomes false.
skip
in interface BigListIterator<Integer>
skip
in class AbstractIntBigListIterator
n
- the number of elements to skip.
public boolean hasNext()
public boolean hasPrevious()
BidirectionalIterator
ListIterator.hasPrevious()
public int nextInt()
AbstractIntIterator
nextInt
in interface IntIterator
nextInt
in class AbstractIntIterator
Iterator.next()
public int previousInt()
AbstractIntBidirectionalIterator
previousInt
in interface IntBidirectionalIterator
previousInt
in class AbstractIntBidirectionalIterator
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 |