List of usage examples for java.util Arrays hashCode
public static int hashCode(Object a[])
From source file:de.bund.bfr.knime.node.editableTable.JSONDataTable.java
/** * {@inheritDoc}/*from w w w . j ava2s . c o m*/ */ @Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + Arrays.deepHashCode(m_extensions); result = prime * result + Arrays.hashCode(m_rows); result = prime * result + ((m_spec == null) ? 0 : m_spec.hashCode()); return result; }
From source file:fr.ribesg.bukkit.api.chat.Part.java
@Override public int hashCode() { int result = this.text != null ? this.text.hashCode() : 0; result = 31 * result + (this.localizedText ? 1 : 0); result = 31 * result//from w w w. j a v a2 s. c o m + (this.localizedTextParameters != null ? Arrays.hashCode(this.localizedTextParameters) : 0); result = 31 * result + (this.hover != null ? this.hover.hashCode() : 0); result = 31 * result + (this.clickAction != null ? this.clickAction.hashCode() : 0); return result; }
From source file:org.gradoop.flink.model.impl.operators.matching.single.cypher.pojos.Embedding.java
@Override public int hashCode() { int result = Arrays.hashCode(idData); result = 31 * result + Arrays.hashCode(propertyData); result = 31 * result + Arrays.hashCode(idListData); return result; }
From source file:com.opengamma.financial.analytics.LabelledMatrix3D.java
@Override public int hashCode() { int hc = 1;/* w ww . ja v a 2 s .c om*/ hc += (hc << 4) + Arrays.hashCode(_values); hc += (hc << 4) + Arrays.hashCode(_xKeys); hc += (hc << 4) + Arrays.hashCode(_xLabels); hc += (hc << 4) + Arrays.hashCode(_yKeys); hc += (hc << 4) + Arrays.hashCode(_yLabels); hc += (hc << 4) + Arrays.hashCode(_zKeys); hc += (hc << 4) + Arrays.hashCode(_zLabels); return hc; }
From source file:org.apache.jcp.xml.dsig.internal.dom.DOMReference.java
@Override public int hashCode() { int result = 17; if (id != null) { result = 31 * result + id.hashCode(); }// www .j av a 2 s .co m if (uri != null) { result = 31 * result + uri.hashCode(); } if (type != null) { result = 31 * result + type.hashCode(); } if (digestValue != null) { result = 31 * result + Arrays.hashCode(digestValue); } if (digestMethod != null) { result = 31 * result + digestMethod.hashCode(); } if (allTransforms != null) { result = 31 * result + allTransforms.hashCode(); } return result; }
From source file:org.globus.gsi.X509Credential.java
@Override public int hashCode() { return (certChain == null ? 0 : Arrays.hashCode(certChain)) ^ opensslKey.hashCode(); }
From source file:com.opengamma.analytics.financial.instrument.inflation.CapFloorInflationYearOnYearInterpolationDefinition.java
@Override public int hashCode() { final int prime = 31; int result = super.hashCode(); result = prime * result + _conventionalMonthLag; result = prime * result + (_isCap ? 1231 : 1237); result = prime * result + ((_lastKnownFixingDate == null) ? 0 : _lastKnownFixingDate.hashCode()); result = prime * result + _monthLag; result = prime * result + Arrays.hashCode(_referenceEndDate); result = prime * result + Arrays.hashCode(_referenceStartDate); long temp;// w ww . j av a 2 s .c o m temp = Double.doubleToLongBits(_strike); result = prime * result + (int) (temp ^ (temp >>> 32)); temp = Double.doubleToLongBits(_weightEnd); result = prime * result + (int) (temp ^ (temp >>> 32)); temp = Double.doubleToLongBits(_weightStart); result = prime * result + (int) (temp ^ (temp >>> 32)); return result; }
From source file:com.rockhoppertech.music.chord.Chord.java
@Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + this.drop; result = prime * result + Arrays.hashCode(this.intervals); result = prime * result + this.root; result = prime * result + ((this.symbol == null) ? 0 : this.symbol.hashCode()); return result; }
From source file:com.simiacryptus.mindseye.lang.Tensor.java
@Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + Arrays.hashCode(getData()); result = prime * result + Arrays.hashCode(dimensions); return result; }
From source file:com.opengamma.analytics.math.surface.InterpolatedFromCurvesDoublesSurface.java
@Override public int hashCode() { final int prime = 31; int result = super.hashCode(); result = prime * result + Arrays.hashCode(_curves); result = prime * result + _interpolator.hashCode(); result = prime * result + Arrays.hashCode(_points); result = prime * result + (_xzCurves ? 1231 : 1237); return result; }