it.unimi.dsi.fastutil.floats
Class AbstractFloat2IntSortedMap.ValuesIterator

java.lang.Object
  extended by it.unimi.dsi.fastutil.ints.AbstractIntIterator
      extended by it.unimi.dsi.fastutil.floats.AbstractFloat2IntSortedMap.ValuesIterator
All Implemented Interfaces:
IntIterator, Iterator<Integer>
Enclosing class:
AbstractFloat2IntSortedMap

protected static class AbstractFloat2IntSortedMap.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.


Field Summary
protected  ObjectBidirectionalIterator<Map.Entry<Float,Integer>> i
           
 
Constructor Summary
AbstractFloat2IntSortedMap.ValuesIterator(ObjectBidirectionalIterator<Map.Entry<Float,Integer>> i)
           
 
Method Summary
 boolean hasNext()
           
 int nextInt()
          Delegates to the corresponding generic method.
 
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
 

Field Detail

i

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

AbstractFloat2IntSortedMap.ValuesIterator

public AbstractFloat2IntSortedMap.ValuesIterator(ObjectBidirectionalIterator<Map.Entry<Float,Integer>> i)
Method Detail

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.