Lines Matching refs:hashCode
43 // Test against hashCode spec
44 if (bp1.hashCode() != bp1.getName().hashCode())
45 sb.append("bp1 hashCode not spec consistent\n");
46 if (bp2.hashCode() != bp2.getName().hashCode())
47 sb.append("bp2 hashCode not spec consistent\n");
61 // Tests against common knowledge: If equals, then hashCode should be same
63 if (bp1.hashCode() != bp2.hashCode()) {
64 sb.append("Equal objects have unequal hashCode?\n");