|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.japano.util.EmptyEnumeration
public class EmptyEnumeration
Implements an Iterator which is always empty.
| Field Summary | |
|---|---|
static EmptyEnumeration |
instance
The only EmptyEnumeration instance |
| Method Summary | |
|---|---|
boolean |
hasMoreElements()
Returns always false. |
java.lang.Object |
nextElement()
Throws a NoSuchElementException. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final EmptyEnumeration instance
| Method Detail |
|---|
public boolean hasMoreElements()
hasMoreElements in interface java.util.Enumerationpublic java.lang.Object nextElement()
nextElement in interface java.util.Enumeration
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||