Save This Page
Home » openjdk-7 » java » security » [javadoc | source]
java.security
final class: PermissionsHash [javadoc | source]
java.lang.Object
   java.security.PermissionCollection
      java.security.PermissionsHash

All Implemented Interfaces:
    Serializable

A PermissionsHash stores a homogeneous set of permissions in a hashtable.
Constructor:
 PermissionsHash() 
Method from java.security.PermissionsHash Summary:
add,   elements,   implies
Methods from java.security.PermissionCollection:
add,   elements,   implies,   isReadOnly,   setReadOnly,   toString
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from java.security.PermissionsHash Detail:
 public  void add(Permission permission) 
    Adds a permission to the PermissionsHash.
 public Enumeration<Permission> elements() 
    Returns an enumeration of all the Permission objects in the container.
 public boolean implies(Permission permission) 
    Check and see if this set of permissions implies the permissions expressed in "permission".