public class EmptyMapIterator extends Object implements MapIterator, ResettableIterator
Modifier and Type | Field and Description |
---|---|
static MapIterator |
INSTANCE
Singleton instance of the iterator.
|
Modifier | Constructor and Description |
---|---|
protected |
EmptyMapIterator()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
add(Object obj) |
Object |
getKey() |
Object |
getValue() |
boolean |
hasNext() |
boolean |
hasPrevious() |
Object |
next() |
int |
nextIndex() |
Object |
previous() |
int |
previousIndex() |
void |
remove() |
void |
reset() |
void |
set(Object obj) |
Object |
setValue(Object value) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getKey, getValue, hasNext, next, remove, setValue
reset
public static final MapIterator INSTANCE
public boolean hasNext()
public Object next()
public boolean hasPrevious()
public Object previous()
public int nextIndex()
public int previousIndex()
public void add(Object obj)
public void set(Object obj)
public void remove()
public Object getKey()
public Object getValue()
public void reset()
Copyright © 2001–2015 The Apache Software Foundation. All rights reserved.