FileDocCategorySizeDatePackage
EmptyEnumeration.javaAPI DocAndroid 1.5 API1480Wed May 06 22:41:04 BST 2009java.lang

EmptyEnumeration

public final class EmptyEnumeration extends Object implements Serializable, Enumeration
Empty 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.EmptyEnumerationgetInstance()
Return instance.

        return mInst;
    
public booleanhasMoreElements()
Enumeration implementation.

        return false;
    
public java.net.URLnextElement()

        throw new NoSuchElementException();