@Test public void testHashCode() { assertHashCodeContract( new OpenId("delegateId", "realId"), new OpenId("delegateId", "realId")); }
@Override public int hashCode() { return new HashCodeBuilder().append(delegateId).append(realId).toHashCode(); }
OpenId { @Override public int hashCode() { return new HashCodeBuilder().append(delegateId).append(realId).toHashCode(); } }
OpenId { @Override public int hashCode() { return new HashCodeBuilder().append(delegateId).append(realId).toHashCode(); } OpenId(String delegateId, String realId); }
OpenId { @Override public int hashCode() { return new HashCodeBuilder().append(delegateId).append(realId).toHashCode(); } OpenId(String delegateId, String realId); @Override boolean equals(Object o); @Override int hashCode(); }
OpenId { @Override public int hashCode() { return new HashCodeBuilder().append(delegateId).append(realId).toHashCode(); } OpenId(String delegateId, String realId); @Override boolean equals(Object o); @Override int hashCode();  }