Interface java.security.acl.Permission
All Packages Class Hierarchy This Package Previous Next Index
Interface java.security.acl.Permission
- public interface Permission
- extends Object
This interface represents a permission.
-
equals(Object)
- This function returns true if the Object passed matches
the permission represented in this interface.
-
toString()
- Prints a stringified version of the permission.
equals
public abstract boolean equals(Object another)
- This function returns true if the Object passed matches
the permission represented in this interface.
- Parameters:
- another - The Permission object to compare with.
- Returns:
- true if the Permission objects are equal, false otherwise
- Overrides:
- equals in class Object
toString
public abstract String toString()
- Prints a stringified version of the permission.
- Returns:
- the string representation of the Permission.
- Overrides:
- toString in class Object
All Packages Class Hierarchy This Package Previous Next Index