|
||||||||||
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.AbstractInt2ReferenceSortedMap.KeySetIterator<V>
protected static class AbstractInt2ReferenceSortedMap.KeySetIterator<V>
A wrapper exhibiting a map iterator as an iterator on keys.
To provide an iterator on keys, just create an instance of this class using the corresponding iterator on entries.
Field Summary | |
---|---|
protected ObjectBidirectionalIterator<Map.Entry<Integer,V>> |
i
|
Constructor Summary | |
---|---|
AbstractInt2ReferenceSortedMap.KeySetIterator(ObjectBidirectionalIterator<Map.Entry<Integer,V>> i)
|
Method Summary | |
---|---|
boolean |
hasNext()
|
boolean |
hasPrevious()
Returns whether there is a previous element. |
int |
nextInt()
Delegates to the corresponding generic method. |
int |
previousInt()
Delegates to the corresponding generic method. |
Methods inherited from class it.unimi.dsi.fastutil.ints.AbstractIntBidirectionalIterator |
---|
back, previous |
Methods inherited from class it.unimi.dsi.fastutil.ints.AbstractIntIterator |
---|
next, remove, skip |
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.ints.IntIterator |
---|
skip |
Methods inherited from interface it.unimi.dsi.fastutil.objects.ObjectIterator |
---|
skip |
Methods inherited from interface java.util.Iterator |
---|
next, remove |
Field Detail |
---|
protected final ObjectBidirectionalIterator<Map.Entry<Integer,V>> i
Constructor Detail |
---|
public AbstractInt2ReferenceSortedMap.KeySetIterator(ObjectBidirectionalIterator<Map.Entry<Integer,V>> i)
Method Detail |
---|
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 boolean hasNext()
public boolean hasPrevious()
BidirectionalIterator
ListIterator.hasPrevious()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |