# Class AbstractHashedMap.ValuesIterator<V>

java.lang.Object
org.apache.commons.collections4.map.AbstractHashedMap.HashIterator<Object,V>
org.apache.commons.collections4.map.AbstractHashedMap.ValuesIterator<V>

Type Parameters:
  `V` - the type of elements maintained by this collection

All Implemented Interfaces:
  `Iterator<V>`

Enclosing class:
  `AbstractHashedMap<K,V>`

protected static class AbstractHashedMap.ValuesIterator<V> extends AbstractHashedMap.HashIterator<Object,V> implements Iterator<V>
Values iterator.

Since:
  3.0

- ## Constructor Summary

  Constructors
  Modifier
  Constructor
  Description
  `protected`
  `ValuesIterator(AbstractHashedMap<?,V> parent)`
  Constructs a new instance.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `V`
  `next()`

  ### Methods inherited from class org.apache.commons.collections4.map.AbstractHashedMap.HashIterator

  `currentEntry, hasNext, nextEntry, remove, toString`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

  ### Methods inherited from interface java.util.Iterator

  `forEachRemaining, hasNext, remove`

- ## Constructor Details

  - ### ValuesIterator

    protected ValuesIterator(AbstractHashedMap<?,V> parent)
    Constructs a new instance.
    Parameters:
      `parent` - The parent AbstractHashedMap.

- ## Method Details

  - ### next

    public V next()
    Specified by:
      `next` in interface `Iterator<V>`