List of usage examples for java.util Arrays hashCode
public static int hashCode(Object a[])
From source file:org.apache.cassandra.config.ColumnDefinition.java
@Override public int hashCode() { int result = name != null ? Arrays.hashCode(name) : 0; result = 31 * result + (validator != null ? validator.hashCode() : 0); result = 31 * result + (index_type != null ? index_type.hashCode() : 0); result = 31 * result + (index_name != null ? index_name.hashCode() : 0); return result; }
From source file:com.jivesoftware.os.amza.api.ring.RingMember.java
public RingMember(byte[] memberAsBytes) { this.memberAsBytes = memberAsBytes; this.member = new String(memberAsBytes, StandardCharsets.UTF_8); int hashCode = 7; hashCode = 73 * hashCode + Arrays.hashCode(this.memberAsBytes); this.hash = hashCode; }
From source file:com.opengamma.analytics.financial.provider.curve.SingleCurveBundle.java
@Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + _curveGenerator.hashCode(); result = prime * result + _curveName.hashCode(); result = prime * result + Arrays.hashCode(_derivatives); result = prime * result + Arrays.hashCode(_startingPoints); return result; }
From source file:org.gradle.cache.internal.CacheVersion.java
@Override public int hashCode() { return Arrays.hashCode(components); }
From source file:org.codelibs.fess.dict.mapping.CharMappingItem.java
@Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + Arrays.hashCode(inputs); result = prime * result + (output == null ? 0 : output.hashCode()); return result; }
From source file:org.omnaest.utils.beans.replicator.Path.java
@Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + Arrays.hashCode(this.path); return result; }
From source file:org.commonjava.cartographer.graph.spi.jung.model.JungGraphPath.java
@Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + Arrays.hashCode(rels); return result; }
From source file:org.marketcetera.client.ClientParameters.java
@Override public int hashCode() { return ObjectUtils.hashCode(mUsername) + Arrays.hashCode(mPassword) + ObjectUtils.hashCode(mHostname) + ObjectUtils.hashCode(mPort) + ObjectUtils.hashCode(mHeartbeatInterval) + ObjectUtils.hashCode(mIDPrefix) + ObjectUtils.hashCode(mURL); }
From source file:io.confluent.kafkarest.entities.BinaryProduceRecord.java
@Override public int hashCode() { int result = key != null ? Arrays.hashCode(key) : 0; result = 31 * result + (value != null ? Arrays.hashCode(value) : 0); return result; }
From source file:org.gradle.util.Path.java
@Override public int hashCode() { return Arrays.hashCode(segments); }