Searched refs:SameStringInstance (Results 1 – 1 of 1) sorted by relevance
354 assertBadUseOfReferentialEquality(SameStringInstance.class); in testEqualsUsingReferentialEquality()950 static class SameStringInstance { class953 public SameStringInstance(String s) { in SameStringInstance() method in SameStringInstance962 if (obj instanceof SameStringInstance) { in equals()963 SameStringInstance that = (SameStringInstance) obj; in equals()