/** * InvDocumentation elements with same values are equal. */ public boolean equals(Object o) { if (this == o) return true; if (!(o instanceof InvDocumentation)) return false; return o.hashCode() == this.hashCode(); }
/** * InvDocumentation elements with same values are equal. */ public boolean equals(Object o) { if (this == o) return true; if (!(o instanceof InvDocumentation)) return false; return o.hashCode() == this.hashCode(); }
/** * InvDocumentation elements with same values are equal. */ public boolean equals(Object o) { if (this == o) return true; if (!(o instanceof InvDocumentation)) return false; return o.hashCode() == this.hashCode(); }
/** Override Object.hashCode() to implement equals. */ public int hashCode() { if (hashCode == 0) { int result = 17; result = 37*result + getName().hashCode(); result = 37*result + getValue().hashCode(); if (getTemplate() != null) result = 37*result + getTemplate().hashCode(); if (getDescription() != null) result = 37*result + getDescription().hashCode(); if (hasNestedSelectors()) result = 37*result + getNestedSelectors().hashCode(); hashCode = result; } return hashCode; } private volatile int hashCode = 0; // Bloch, item 8
/** Override Object.hashCode() to implement equals. */ public int hashCode() { if (hashCode == 0) { int result = 17; result = 37*result + getName().hashCode(); result = 37*result + getValue().hashCode(); if (getTemplate() != null) result = 37*result + getTemplate().hashCode(); if (getDescription() != null) result = 37*result + getDescription().hashCode(); if (hasNestedSelectors()) result = 37*result + getNestedSelectors().hashCode(); hashCode = result; } return hashCode; } private volatile int hashCode = 0; // Bloch, item 8
/** Override Object.hashCode() to implement equals. */ public int hashCode() { if (hashCode == 0) { int result = 17; result = 37*result + getName().hashCode(); result = 37*result + getValue().hashCode(); if (getTemplate() != null) result = 37*result + getTemplate().hashCode(); if (getDescription() != null) result = 37*result + getDescription().hashCode(); if (hasNestedSelectors()) result = 37*result + getNestedSelectors().hashCode(); hashCode = result; } return hashCode; } private volatile int hashCode = 0; // Bloch, item 8
/** Override Object.hashCode() to implement equals. */ public int hashCode() { if (hashCode == 0) { int result = 17; result = 37*result + getName().hashCode(); result = 37*result + getValue().hashCode(); if (getTemplate() != null) result = 37*result + getTemplate().hashCode(); if (getDescription() != null) result = 37*result + getDescription().hashCode(); result = 37*result + getLocation().hashCode(); hashCode = result; } return hashCode; } private volatile int hashCode = 0; // Bloch, item 8
/** Override Object.hashCode() to implement equals. */ public int hashCode() { if (hashCode == 0) { int result = 17; result = 37*result + getName().hashCode(); result = 37*result + getValue().hashCode(); if (getTemplate() != null) result = 37*result + getTemplate().hashCode(); if (getDescription() != null) result = 37*result + getDescription().hashCode(); result = 37*result + getLocation().hashCode(); hashCode = result; } return hashCode; } private volatile int hashCode = 0; // Bloch, item 8
/** Override Object.hashCode() to implement equals. */ public int hashCode() { if (hashCode == 0) { int result = 17; result = 37*result + getName().hashCode(); result = 37*result + getValue().hashCode(); if (getTemplate() != null) result = 37*result + getTemplate().hashCode(); if (getDescription() != null) result = 37*result + getDescription().hashCode(); result = 37*result + getLocation().hashCode(); hashCode = result; } return hashCode; } private volatile int hashCode = 0; // Bloch, item 8