| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final UninitializedPermission | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(final Object
the object we are testing for equality with this object. obj)Implements abstract java. Permission objects for equality.
|
| public String | getActions()
Implements abstract java. String.
|
| public int | hashCode()
Implements abstract java. Permission object.
|
| public boolean | implies(final Permission
the permission to check against. permission)Implements abstract java. |
| INSTANCE | back to summary |
|---|---|
| pack-priv static final UninitializedPermission INSTANCE | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| UninitializedPermission | back to summary |
|---|---|
| private UninitializedPermission() | |
| equals | back to summary |
|---|---|
| public boolean equals(final Object obj) Implements abstract java. Doc from java. Checks two
Do not use the
| |
| getActions | back to summary |
|---|---|
| public String getActions() Implements abstract java. Doc from java. Returns the actions as a perm1 = new FilePermission(p1,"read,write"); perm2 = new FilePermission(p2,"write,read");both return "read,write" when the getActions method is invoked.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Implements abstract java. Doc from java. Returns the hash code value for this
The required
| |
| implies | back to summary |
|---|---|
| public boolean implies(final Permission permission) Implements abstract java. Doc from java. Checks if the specified permission's actions are "implied by" this object's actions.
This must be implemented by subclasses of The
| |