Save This Page
Home » openjdk-7 » java » security » [javadoc | source]
java.security
static final class: AllPermissionCollection.SingletonEnumeration [javadoc | source]
java.lang.Object
   java.security.AllPermissionCollection$SingletonEnumeration

All Implemented Interfaces:
    Enumeration

An auxiliary implementation for enumerating a single object.
Constructor:
 public SingletonEnumeration(E single) 
Method from java.security.AllPermissionCollection$SingletonEnumeration Summary:
hasMoreElements,   nextElement
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from java.security.AllPermissionCollection$SingletonEnumeration Detail:
 public boolean hasMoreElements() 
    Returns true if the element is not enumerated yet.
 public E nextElement() 
    Returns the element and clears internal reference to it.