|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.spy.util.IdentityEqualifier
public class IdentityEqualifier
A wrapper object used to compare two objects on the basis of identity rather than equality.
| Constructor Summary | |
|---|---|
IdentityEqualifier(java.lang.Object o)
Get an IdentityEqualifier wrapping the given object. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object other)
True if this object has the same identity as the given object. |
java.lang.Object |
get()
Get the object this IdentityEqualifier is wrapping. |
int |
hashCode()
The hashcode of this object. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IdentityEqualifier(java.lang.Object o)
| Method Detail |
|---|
public java.lang.Object get()
public boolean equals(java.lang.Object other)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||