List of usage examples for java.util Arrays hashCode
public static int hashCode(Object a[])
From source file:ws.moor.bt.network.packets.HandshakePacket.java
public int hashCode() { int result;/*from w ww . j a va2s . c om*/ result = protocol.hashCode(); result = 29 * result + Arrays.hashCode(reserved); result = 29 * result + infoHash.hashCode(); result = 29 * result + (peerId != null ? peerId.hashCode() : 0); return result; }
From source file:vnet.sms.common.messages.UdhElement.java
@Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + Arrays.hashCode(this.udhIeiData_); result = prime * result + this.udhIei_; return result; }
From source file:griffon.plugins.domain.methods.MethodSignature.java
@Override public int hashCode() { int result = methodName.hashCode(); result = 31 * result + returnType.hashCode(); result = 31 * result + Arrays.hashCode(parameterClassnames); result = 31 * result + (isStatic ? 1 : 0); return result; }
From source file:com.opengamma.analytics.financial.model.option.parameters.InflationConvexityAdjustmentParameters.java
@Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + Arrays.hashCode(_atmVolatility); result = prime * result + ((_index == null) ? 0 : _index.hashCode()); result = prime * result + Arrays.hashCode(_inflationTime); result = prime * result + ((_liborCorrelation == null) ? 0 : _liborCorrelation.hashCode()); result = prime * result + ((_priceIndexCorrelation == null) ? 0 : _priceIndexCorrelation.hashCode()); result = prime * result/*from w w w. j a v a2s . c om*/ + ((_priceIndexRateCorrelation == null) ? 0 : _priceIndexRateCorrelation.hashCode()); return result; }
From source file:org.protempa.backend.dsb.filter.PropertyValueFilter.java
@Override public int hashCode() { final int prime = 31; int result = prime + ((property == null) ? 0 : property.hashCode()); result = prime * result + ((valueComparator == null) ? 0 : valueComparator.hashCode()); result = prime * result + Arrays.hashCode(values); return result; }
From source file:org.jcurl.core.impl.CurveStoreImpl.java
@Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + Arrays.hashCode(curve); result = prime * result + (stopper == null ? 0 : stopper.hashCode()); return result; }
From source file:monasca.common.model.metric.Metric.java
@Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + ((definition == null) ? 0 : definition.hashCode()); result = prime * result + ((dimensions == null) ? 0 : dimensions.hashCode()); result = prime * result + ((name == null) ? 0 : name.hashCode()); result = prime * result + Arrays.hashCode(timeValues); result = prime * result + (int) (timestamp ^ (timestamp >>> 32)); long temp;/*from ww w. j a va 2 s . co m*/ temp = Double.doubleToLongBits(value); result = prime * result + (int) (temp ^ (temp >>> 32)); return result; }
From source file:io.druid.query.search.FragmentSearchQuerySpec.java
@Override public int hashCode() { return Arrays.hashCode(target) + (caseSensitive ? (byte) 1 : 0); }
From source file:org.apache.usergrid.persistence.graph.serialization.impl.shard.DirectedEdgeMeta.java
@Override public int hashCode() { int result = Arrays.hashCode(nodes); result = 31 * result + Arrays.hashCode(types); return result; }
From source file:org.auraframework.util.text.Hash.java
@Override public int hashCode() { if (value == null) { return 3; // arbitrary value, but I dislike 0 as a hash precisely // because it's so normal }//ww w. ja va 2s . c o m return Arrays.hashCode(value); }