@Test public void verifyThatHashcodeDisregardsOrder_Ldap260() throws Exception { LdapRdn rdn1 = new LdapRdn("cn=john doe+sn=doe"); LdapRdn rdn2 = new LdapRdn("sn=doe+cn=john doe"); assertThat(rdn2.hashCode()).as("Should be equal").isEqualTo(rdn1.hashCode()); }
public int hashCode() { return this.getClass().hashCode() ^ new HashSet(getComponents()).hashCode(); }
LdapRdn implements Serializable, Comparable { public int hashCode() { return this.getClass().hashCode() ^ new HashSet(getComponents()).hashCode(); } }
LdapRdn implements Serializable, Comparable { public int hashCode() { return this.getClass().hashCode() ^ new HashSet(getComponents()).hashCode(); } LdapRdn();  LdapRdn(String string);  LdapRdn(String key, String value); }
LdapRdn implements Serializable, Comparable { public int hashCode() { return this.getClass().hashCode() ^ new HashSet(getComponents()).hashCode(); } LdapRdn();  LdapRdn(String string);  LdapRdn(String key, String value); void addComponent(LdapRdnComponent rdnComponent); List getComponents(); LdapRdnComponent getComponent(); LdapRdnComponent getComponent(int idx); String getLdapEncoded(); String encodeUrl(); int compareTo(Object obj); boolean equals(Object obj); int hashCode(); String toString(); String getValue(); String getKey(); String getValue(String key); LdapRdn immutableLdapRdn(); }
LdapRdn implements Serializable, Comparable { public int hashCode() { return this.getClass().hashCode() ^ new HashSet(getComponents()).hashCode(); } LdapRdn();  LdapRdn(String string);  LdapRdn(String key, String value); void addComponent(LdapRdnComponent rdnComponent); List getComponents(); LdapRdnComponent getComponent(); LdapRdnComponent getComponent(int idx); String getLdapEncoded(); String encodeUrl(); int compareTo(Object obj); boolean equals(Object obj); int hashCode(); String toString(); String getValue(); String getKey(); String getValue(String key); LdapRdn immutableLdapRdn();  }