it.unimi.dsi.fastutil.objects
Class AbstractObject2FloatSortedMap.ValuesIterator<K>

java.lang.Object
  extended by it.unimi.dsi.fastutil.floats.AbstractFloatIterator
      extended by it.unimi.dsi.fastutil.objects.AbstractObject2FloatSortedMap.ValuesIterator<K>
All Implemented Interfaces:
FloatIterator, Iterator<Float>
Enclosing class:
AbstractObject2FloatSortedMap<K>

protected static class AbstractObject2FloatSortedMap.ValuesIterator<K>
extends AbstractFloatIterator

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.


Field Summary
protected  ObjectBidirectionalIterator<Map.Entry<K,Float>> i
           
 
Constructor Summary
AbstractObject2FloatSortedMap.ValuesIterator(ObjectBidirectionalIterator<Map.Entry<K,Float>> i)
           
 
Method Summary
 boolean hasNext()
           
 float nextFloat()
          Delegates to the corresponding generic method.
 
Methods inherited from class it.unimi.dsi.fastutil.floats.AbstractFloatIterator
next, remove, skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

i

protected final ObjectBidirectionalIterator<Map.Entry<K,Float>> i
Constructor Detail

AbstractObject2FloatSortedMap.ValuesIterator

public AbstractObject2FloatSortedMap.ValuesIterator(ObjectBidirectionalIterator<Map.Entry<K,Float>> i)
Method Detail

nextFloat

public float nextFloat()
Description copied from class: AbstractFloatIterator
Delegates to the corresponding generic method.

Specified by:
nextFloat in interface FloatIterator
Overrides:
nextFloat in class AbstractFloatIterator
Returns:
the next element in the iteration.
See Also:
Iterator.next()

hasNext

public boolean hasNext()


Copyright © 2011. All Rights Reserved.