|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Principal
Principals are objects which have identities. These can be individuals, groups, corporations, unique program executions, etc.
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
Compares the argument to the receiver, and returns true if they represent the same object using a class specific comparison. |
String |
getName()
|
int |
hashCode()
Returns an integer hash code for the receiver. |
String |
toString()
Returns a string containing a concise, human-readable description of the receiver. |
| Method Detail |
|---|
boolean equals(Object obj)
Object
equals in class Objectobj - Object the object to compare with this object.
true if the object is the same as this
object false if it is different from this object.Object.hashCode()String getName()
int hashCode()
Objecttrue when passed to .equals must
answer the same value for this method.
hashCode in class ObjectObject.equals(java.lang.Object)String toString()
Object
toString in class Object
|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||