it.unimi.dsi.fastutil.objects
Class AbstractReference2DoubleSortedMap.ValuesIterator<K>
java.lang.Object
it.unimi.dsi.fastutil.doubles.AbstractDoubleIterator
it.unimi.dsi.fastutil.objects.AbstractReference2DoubleSortedMap.ValuesIterator<K>
- All Implemented Interfaces:
- DoubleIterator, Iterator<Double>
- Enclosing class:
- AbstractReference2DoubleSortedMap<K>
protected static class AbstractReference2DoubleSortedMap.ValuesIterator<K>
- extends AbstractDoubleIterator
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()
|
double |
nextDouble()
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<K,Double>> i
AbstractReference2DoubleSortedMap.ValuesIterator
public AbstractReference2DoubleSortedMap.ValuesIterator(ObjectBidirectionalIterator<Map.Entry<K,Double>> i)
nextDouble
public double nextDouble()
- Description copied from class:
AbstractDoubleIterator
- Delegates to the corresponding generic method.
- Specified by:
nextDouble
in interface DoubleIterator
- Overrides:
nextDouble
in class AbstractDoubleIterator
- Returns:
- the next element in the iteration.
- See Also:
Iterator.next()
hasNext
public boolean hasNext()
Copyright © 2011. All Rights Reserved.