Class AbstractReference2ObjectSortedMap.ValuesIterator<K,V>

java.lang.Object
it.unimi.dsi.fastutil.objects.AbstractReference2ObjectSortedMap.ValuesIterator<K,V>
All Implemented Interfaces:
it.unimi.dsi.fastutil.objects.ObjectIterator<V>, Iterator<V>
Enclosing class:
AbstractReference2ObjectSortedMap<K,V>

protected static class AbstractReference2ObjectSortedMap.ValuesIterator<K,V> extends Object implements it.unimi.dsi.fastutil.objects.ObjectIterator<V>
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 Details

  • Constructor Details

  • Method Details

    • next

      public V next()
      Specified by:
      next in interface Iterator<K>
    • hasNext

      public boolean hasNext()
      Specified by:
      hasNext in interface Iterator<K>