Top Description Fields Constructors Methods
org.apache.commons.collections4.iterators

public Class EmptyMapIterator<K, V>

extends AbstractEmptyMapIterator<K, V>
implements MapIterator<K, V>, ResettableIterator<K>
Class Inheritance
All Implemented Interfaces
org.apache.commons.collections4.ResettableIterator, java.util.Iterator, org.apache.commons.collections4.MapIterator
Type Parameters
<K>
the type of keys
<V>
the type of mapped values
Imports
org.apache.commons.collections4.MapIterator, .ResettableIterator

Provides an implementation of an empty map iterator.
Since
3.1

Field Summary

Modifier and TypeField and Description
public static final MapIterator<K, V>
INSTANCE

Singleton instance of the iterator.

Constructor Summary

AccessConstructor and Description
protected
EmptyMapIterator()

Constructor.

Method Summary

Modifier and TypeMethod and Description
public static <
the key type
K
,
the value type
V
>
MapIterator<K, V>

Returns:

MapIterator<K, V>
emptyMapIterator
()

Get a typed instance of the iterator.

Inherited from org.apache.commons.collections4.iterators.AbstractEmptyMapIterator:
getKeygetValuesetValue

Field Detail

INSTANCEback to summary
public static final MapIterator<K, V> INSTANCE

Singleton instance of the iterator.

Annotations
@SuppressWarnings:rawtypes
Since
3.1

Constructor Detail

EmptyMapIteratorback to summary
protected EmptyMapIterator()

Constructor.

Method Detail

emptyMapIteratorback to summary
public static <K, V> MapIterator<K, V> emptyMapIterator()

Get a typed instance of the iterator.

Parameters
<K>
the key type
<V>
the value type
Returns:MapIterator<K, V>

MapIterator<K, V>