|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jcoderz.commons.util.EmptyIterator
public final class EmptyIterator
An empty iterator that is just empty.
| Field Summary | |
|---|---|
static Iterator |
EMPTY_ITERATOR
The constant no state EmptyIterator. |
| Method Summary | |
|---|---|
boolean |
hasNext()
Always returns false. |
Object |
next()
|
void |
remove()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final Iterator EMPTY_ITERATOR
| Method Detail |
|---|
public void remove()
throws IllegalStateException
remove in interface IteratorIllegalStateException - always.public boolean hasNext()
hasNext in interface Iterator
public Object next()
throws NoSuchElementException
next in interface IteratorNoSuchElementException - always.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||