Searched refs:SameDoubleInstance (Results 1 – 1 of 1) sorted by relevance
348 assertBadUseOfReferentialEquality(SameDoubleInstance.class); in testEqualsUsingReferentialEquality()844 static class SameDoubleInstance { class847 public SameDoubleInstance(Double i) { in SameDoubleInstance() method in SameDoubleInstance858 if (obj instanceof SameDoubleInstance) { in equals()859 SameDoubleInstance that = (SameDoubleInstance) obj; in equals()