it.unimi.dsi.fastutil.shorts
Class AbstractShort2IntSortedMap.ValuesIterator
java.lang.Object
it.unimi.dsi.fastutil.ints.AbstractIntIterator
it.unimi.dsi.fastutil.shorts.AbstractShort2IntSortedMap.ValuesIterator
- All Implemented Interfaces:
- IntIterator, Iterator<Integer>
- Enclosing class:
- AbstractShort2IntSortedMap
protected static class AbstractShort2IntSortedMap.ValuesIterator
- extends AbstractIntIterator
A wrapper exhibiting a map iterator as an iterator on values.
To provide an iterator on values, just create an instance of this
class using the corresponding iterator on entries.
Method Summary |
boolean |
hasNext()
|
int |
nextInt()
Delegates to the corresponding generic method. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
i
protected final ObjectBidirectionalIterator<Map.Entry<Short,Integer>> i
AbstractShort2IntSortedMap.ValuesIterator
public AbstractShort2IntSortedMap.ValuesIterator(ObjectBidirectionalIterator<Map.Entry<Short,Integer>> i)
nextInt
public int nextInt()
- Description copied from class:
AbstractIntIterator
- Delegates to the corresponding generic method.
- Specified by:
nextInt
in interface IntIterator
- Overrides:
nextInt
in class AbstractIntIterator
- Returns:
- the next element in the iteration.
- See Also:
Iterator.next()
hasNext
public boolean hasNext()
Copyright © 2011. All Rights Reserved.