|
||||||||||
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.IntIterators.UnmodifiableBidirectionalIterator
An unmodifiable wrapper class for bidirectional iterators.
Constructor Summary | |
IntIterators.UnmodifiableBidirectionalIterator(IntBidirectionalIterator i)
|
Method Summary | |
boolean |
hasNext()
|
boolean |
hasPrevious()
Returns whether there is a previous element. |
Object |
next()
Delegates to the corresponding type-specific method. |
int |
nextInt()
Returns the next element as a primitive type. |
Object |
previous()
Delegates to the corresponding type-specific method. |
int |
previousInt()
Delegates to the corresponding generic method. |
Methods inherited from class it.unimi.dsi.fastutil.ints.AbstractIntBidirectionalIterator |
back |
Methods inherited from class it.unimi.dsi.fastutil.ints.AbstractIntIterator |
remove, skip |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface it.unimi.dsi.fastutil.ints.IntIterator |
skip |
Methods inherited from interface java.util.Iterator |
remove |
Constructor Detail |
public IntIterators.UnmodifiableBidirectionalIterator(IntBidirectionalIterator i)
Method Detail |
public boolean hasNext()
public boolean hasPrevious()
BidirectionalIterator
ListIterator.hasPrevious()
public int nextInt()
IntIterator
nextInt
in interface IntIterator
nextInt
in class AbstractIntIterator
public int previousInt()
AbstractIntBidirectionalIterator
previousInt
in interface IntBidirectionalIterator
previousInt
in class AbstractIntBidirectionalIterator
public Object next()
AbstractIntIterator
next
in interface Iterator
next
in class AbstractIntIterator
public Object previous()
AbstractIntBidirectionalIterator
previous
in interface BidirectionalIterator
previous
in class AbstractIntBidirectionalIterator
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |