private PrincipalSearchProperty(DavPropertyName propName, String description, String language) { if (propName == null) { throw new IllegalArgumentException("null is not a valid DavPropertyName for the DAV:principal-search-property."); } this.propName = propName; this.description = description; this.language = language; hashCode = propName.hashCode(); }
private PrincipalSearchProperty(DavPropertyName propName, String description, String language) { if (propName == null) { throw new IllegalArgumentException("null is not a valid DavPropertyName for the DAV:principal-search-property."); } this.propName = propName; this.description = description; this.language = language; hashCode = propName.hashCode(); }
private PrincipalSearchProperty(DavPropertyName propName, String description, String language) { if (propName == null) { throw new IllegalArgumentException("null is not a valid DavPropertyName for the DAV:principal-search-property."); } this.propName = propName; this.description = description; this.language = language; hashCode = propName.hashCode(); }
/** * Computes the hash code using this propertys name and value. * * @return the hash code */ public int hashCode() { int hashCode = getName().hashCode(); if (getValue() != null) { hashCode += getValue().hashCode(); } return hashCode % Integer.MAX_VALUE; }
/** * Computes the hash code using this property's name and value. * * @return the hash code */ @Override public int hashCode() { int hashCode = getName().hashCode(); if (getValue() != null) { hashCode += getValue().hashCode(); } return hashCode % Integer.MAX_VALUE; }
public int hashCode() { int hashCode = getName().hashCode(); if (getValue() != null) { hashCode += getValue().hashCode(); } return hashCode % Integer.MAX_VALUE; }
/** * Computes the hash code using this property's name and value. * * @return the hash code */ @Override public int hashCode() { int hashCode = getName().hashCode(); if (getValue() != null) { hashCode += getValue().hashCode(); } return hashCode % Integer.MAX_VALUE; }
public int hashCode() { int hashCode = getName().hashCode(); if (getValue() != null) { hashCode += getValue().hashCode(); } return hashCode % Integer.MAX_VALUE; }