Searched refs:SameIntegerInstance (Results 1 – 1 of 1) sorted by relevance
345 assertBadUseOfReferentialEquality(SameIntegerInstance.class); in testEqualsUsingReferentialEquality()778 static class SameIntegerInstance { class781 public SameIntegerInstance(Integer i) { in SameIntegerInstance() method in SameIntegerInstance792 if (obj instanceof SameIntegerInstance) { in equals()793 SameIntegerInstance that = (SameIntegerInstance) obj; in equals()