public class EmptyOrderedIterator extends Object implements OrderedIterator, ResettableIterator
Modifier and Type | Field and Description |
---|---|
static OrderedIterator |
INSTANCE
Singleton instance of the iterator.
|
Modifier | Constructor and Description |
---|---|
protected |
EmptyOrderedIterator()
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
hasPrevious, previous
reset
public static final OrderedIterator 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.