Searched refs:SameObjectInstance (Results 1 – 1 of 1) sorted by relevance
353 assertBadUseOfReferentialEquality(SameObjectInstance.class); in testEqualsUsingReferentialEquality()970 static class SameObjectInstance { class973 public SameObjectInstance(Object s) { in SameObjectInstance() method in SameObjectInstance982 if (obj instanceof SameObjectInstance) { in equals()983 SameObjectInstance that = (SameObjectInstance) obj; in equals()