Class AbstractEmptyMapIterator<K,V>
- java.lang.Object
-
- org.apache.commons.collections4.iterators.AbstractEmptyMapIterator<K,V>
-
- Type Parameters:
K
- the type of keysV
- the type of mapped values
- Direct Known Subclasses:
EmptyMapIterator
,EmptyOrderedMapIterator
public abstract class AbstractEmptyMapIterator<K,V> extends java.lang.Object
Provides an implementation of an empty map iterator.- Since:
- 4.0
-
-
Constructor Summary
Constructors Constructor Description AbstractEmptyMapIterator()
Create a new AbstractEmptyMapIterator.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(E obj)
K
getKey()
V
getValue()
boolean
hasNext()
boolean
hasPrevious()
E
next()
int
nextIndex()
E
previous()
int
previousIndex()
void
remove()
void
reset()
void
set(E obj)
V
setValue(V value)
-
-
-
Method Detail
-
getKey
public K getKey()
-
getValue
public V getValue()
-
hasNext
public boolean hasNext()
-
next
public E next()
-
hasPrevious
public boolean hasPrevious()
-
previous
public E previous()
-
nextIndex
public int nextIndex()
-
previousIndex
public int previousIndex()
-
add
public void add(E obj)
-
set
public void set(E obj)
-
remove
public void remove()
-
reset
public void reset()
-
-