Package org.apache.commons.collections4.iterators

# Class AbstractEmptyMapIterator<K,V>

java.lang.Object
org.apache.commons.collections4.iterators.AbstractEmptyMapIterator<K,V>

Type Parameters:
  `K` - the type of keys
  `V` - the type of mapped values

Direct Known Subclasses:
  `EmptyMapIterator`, `EmptyOrderedMapIterator`

public abstract class AbstractEmptyMapIterator<K,V> extends Object
Provides an implementation of an empty map iterator.

Since:
  4.0

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `AbstractEmptyMapIterator()`
  Create a new AbstractEmptyMapIterator.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `add(K obj)`
  `K`
  `getKey()`
  `V`
  `getValue()`
  `boolean`
  `hasNext()`
  `boolean`
  `hasPrevious()`
  `K`
  `next()`
  `int`
  `nextIndex()`
  `K`
  `previous()`
  `int`
  `previousIndex()`
  `void`
  `remove()`
  `void`
  `reset()`
  `void`
  `set(K obj)`
  `V`
  `setValue(V value)`

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

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

- ## Constructor Details

  - ### AbstractEmptyMapIterator

    public AbstractEmptyMapIterator()
    Create a new AbstractEmptyMapIterator.

- ## Method Details

  - ### getKey

    public K getKey()

  - ### getValue

    public V getValue()

  - ### setValue

    public V setValue(V value)

  - ### add

    public void add(K obj)

  - ### hasNext

    public boolean hasNext()

  - ### hasPrevious

    public boolean hasPrevious()

  - ### next

    public K next()

  - ### nextIndex

    public int nextIndex()

  - ### previous

    public K previous()

  - ### previousIndex

    public int previousIndex()

  - ### remove

    public void remove()

  - ### reset

    public void reset()

  - ### set

    public void set(K obj)