Build 1.0_r1(from source)

java.security.acl
Interface Permission


public interface Permission


Method Summary
 boolean equals(Object another)
          Compares the argument to the receiver, and returns true if they represent the same object using a class specific comparison.
 String toString()
          Returns a string containing a concise, human-readable description of the receiver.
 

Method Detail

equals

boolean equals(Object another)
Description copied from class: Object
Compares the argument to the receiver, and returns true if they represent the same object using a class specific comparison. The implementation in Object returns true only if the argument is the exact same object as the receiver (==).

Overrides:
equals in class Object
Parameters:
another - Object the object to compare with this object.
Returns:
boolean true if the object is the same as this object false if it is different from this object.
See Also:
Object.hashCode()

toString

String toString()
Description copied from class: Object
Returns a string containing a concise, human-readable description of the receiver.

Overrides:
toString in class Object
Returns:
String a printable representation for the receiver.

Build 1.0_r1(from source)

Please submit a feedback, bug or feature