@Override public int hashCode() { if (hash != 0) return hash; final int prime = 31; int result = 1; result = prime * result + partition; result = prime * result + Objects.hashCode(topic); this.hash = result; return result; }
@Override public int hashCode() { return Objects.hashCode(ranges); }
@Override public int hashCode() { return Objects.hashCode(schemaName); }
@Override public int hashCode() { return Objects.hashCode(columns); }
@Override public int hashCode() { return Objects.hashCode(token); }
@Override public int hashCode() { return Objects.hashCode(domains); }
@Override public int hashCode() { return Objects.hashCode(tableMetadata); }
@Override public int hashCode() { int result = Objects.hashCode(certificateChainCleaner); result = 31 * result + pins.hashCode(); return result; }
@Override public int hashCode() { return Objects.hashCode( requirementDescription ); } }
@Override public int hashCode() { return Objects.hashCode(schema); }
@Override public int hashCode() { return Objects.hashCode(name); }
@Override public int hashCode(){ return Objects.hashCode(name, length, children); } @Override public boolean equals(final Object obj){ if(obj instanceof Bean){ final Bean other = (Bean) obj; return Objects.equal(name, other.name) && length == other.length // special handling for primitives && Objects.equal(children, other.children); } else{ return false; } }
@Override public int hashCode() { return Objects.hashCode(statsPerHost); } }
@Override public int hashCode() { int result = 17; result = 31 * result + url.hashCode(); result = 31 * result + dns.hashCode(); result = 31 * result + proxyAuthenticator.hashCode(); result = 31 * result + protocols.hashCode(); result = 31 * result + connectionSpecs.hashCode(); result = 31 * result + proxySelector.hashCode(); result = 31 * result + Objects.hashCode(proxy); result = 31 * result + Objects.hashCode(sslSocketFactory); result = 31 * result + Objects.hashCode(hostnameVerifier); result = 31 * result + Objects.hashCode(certificatePinner); return result; }
/** * {@inheritDoc} */ @Override public int hashCode() { int result = 71 << 4; result |= raw.hashCode(); result <<= 4; result |= Objects.hashCode(useOwner); result <<= 8; result |= Arrays.hashCode(typeArguments); return result; } }
private int computeHashCode() { // Start with partitionNum and version hash codes, because they are often little sequential numbers. If they are // added in the end of the chain, resulting hashCode of SegmentId could have worse distribution. int hashCode = partitionNum; // 1000003 is a constant used in Google AutoValue, provides a little better distribution than 31 hashCode = hashCode * 1000003 + version.hashCode(); hashCode = hashCode * 1000003 + dataSource.hashCode(); hashCode = hashCode * 1000003 + Long.hashCode(intervalStartMillis); hashCode = hashCode * 1000003 + Long.hashCode(intervalEndMillis); hashCode = hashCode * 1000003 + Objects.hashCode(intervalChronology); return hashCode; }
@Implementation(minSdk = KITKAT) @Override public int hashCode() { return Objects.hashCode(simpleMatrix); }
@Override public String toString() { return "JavadocNodeImpl[" + "index=" + index + ", type=" + JavadocUtil.getTokenName(type) + ", text='" + text + '\'' + ", lineNumber=" + lineNumber + ", columnNumber=" + columnNumber + ", children=" + Objects.hashCode(children) + ", parent=" + parent + ']'; }