|
||||||||||
| 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(Object o)
Get an IdentityEqualifier wrapping the given object. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object other)
True if this object has the same identity as the given object. |
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(Object o)
| Method Detail |
|---|
public Object get()
public boolean equals(Object other)
equals in class Objectpublic int hashCode()
hashCode in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||