EmptyEnumerationpublic final class EmptyEnumeration extends Object implements Serializable, EnumerationEmpty enumeration class. Call getInstance() to get the singleton.
This is not part of the Java spec, so must be package-scope only. |
Fields Summary |
---|
private static final EmptyEnumeration | mInst |
Constructors Summary |
---|
private EmptyEnumeration()One instance per VM.
|
Methods Summary |
---|
public static java.lang.EmptyEnumeration | getInstance()Return instance.
return mInst;
| public boolean | hasMoreElements()Enumeration implementation.
return false;
| public java.net.URL | nextElement()
throw new NoSuchElementException();
|
|