@Test public void testHashCodeSameObj() { LdapResultImpl r0 = new LdapResultImpl(); assertTrue( r0.hashCode() == r0.hashCode() ); }
@Override public int hashCode() { int hash = 37; if ( referral != null ) { hash = hash * 17 + referral.hashCode(); } hash = hash * 17 + resultCode.hashCode(); if ( diagnosticMessage != null ) { hash = hash * 17 + diagnosticMessage.hashCode(); } if ( matchedDn != null ) { hash = hash * 17 + matchedDn.hashCode(); } return hash; }
LdapResultImpl implements LdapResult { @Override public int hashCode() { int hash = 37; if ( referral != null ) { hash = hash * 17 + referral.hashCode(); } hash = hash * 17 + resultCode.hashCode(); if ( diagnosticMessage != null ) { hash = hash * 17 + diagnosticMessage.hashCode(); } if ( matchedDn != null ) { hash = hash * 17 + matchedDn.hashCode(); } return hash; } }
LdapResultImpl implements LdapResult { @Override public int hashCode() { int hash = 37; if ( referral != null ) { hash = hash * 17 + referral.hashCode(); } hash = hash * 17 + resultCode.hashCode(); if ( diagnosticMessage != null ) { hash = hash * 17 + diagnosticMessage.hashCode(); } if ( matchedDn != null ) { hash = hash * 17 + matchedDn.hashCode(); } return hash; }  }
LdapResultImpl implements LdapResult { @Override public int hashCode() { int hash = 37; if ( referral != null ) { hash = hash * 17 + referral.hashCode(); } hash = hash * 17 + resultCode.hashCode(); if ( diagnosticMessage != null ) { hash = hash * 17 + diagnosticMessage.hashCode(); } if ( matchedDn != null ) { hash = hash * 17 + matchedDn.hashCode(); } return hash; }  @Override String getDiagnosticMessage(); @Override void setDiagnosticMessage( String diagnosticMessage ); @Override Dn getMatchedDn(); @Override void setMatchedDn( Dn matchedDn ); @Override ResultCodeEnum getResultCode(); @Override void setResultCode( ResultCodeEnum resultCode ); @Override Referral getReferral(); @Override boolean isReferral(); @Override void setReferral( Referral referral ); @Override boolean isDefaultSuccess(); @Override int hashCode(); @Override boolean equals( Object obj ); @Override String toString(); }
LdapResultImpl implements LdapResult { @Override public int hashCode() { int hash = 37; if ( referral != null ) { hash = hash * 17 + referral.hashCode(); } hash = hash * 17 + resultCode.hashCode(); if ( diagnosticMessage != null ) { hash = hash * 17 + diagnosticMessage.hashCode(); } if ( matchedDn != null ) { hash = hash * 17 + matchedDn.hashCode(); } return hash; }  @Override String getDiagnosticMessage(); @Override void setDiagnosticMessage( String diagnosticMessage ); @Override Dn getMatchedDn(); @Override void setMatchedDn( Dn matchedDn ); @Override ResultCodeEnum getResultCode(); @Override void setResultCode( ResultCodeEnum resultCode ); @Override Referral getReferral(); @Override boolean isReferral(); @Override void setReferral( Referral referral ); @Override boolean isDefaultSuccess(); @Override int hashCode(); @Override boolean equals( Object obj ); @Override String toString();  }