List of usage examples for java.util Arrays hashCode
public static int hashCode(Object a[])
From source file:com.opengamma.analytics.financial.instrument.payment.CouponArithmeticAverageONDefinition.java
@Override public int hashCode() { final int prime = 31; int result = super.hashCode(); result = prime * result + Arrays.hashCode(_fixingPeriodAccrualFactors); result = prime * result + Arrays.hashCode(_fixingPeriodDates); result = prime * result + _index.hashCode(); return result; }
From source file:com.rockhoppertech.music.midi.js.MIDIEvent.java
@Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + Arrays.hashCode(bytes); result = prime * result + (int) (division ^ (division >>> 32)); result = prime * result + status;//from w ww .j a v a 2 s .c o m result = prime * result + (int) (tick ^ (tick >>> 32)); return result; }
From source file:org.knime.al.util.noveltydetection.kernel.KernelCalculator.java
@Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + m_colCount; result = prime * result + ((m_kernelFunction == null) ? 0 : m_kernelFunction.hashCode()); result = prime * result + m_rowCount; result = prime * result + Arrays.hashCode(m_trainingData); return result; }
From source file:com.opengamma.analytics.financial.instrument.payment.CouponONSpreadDefinition.java
@Override public int hashCode() { final int prime = 31; int result = super.hashCode(); result = prime * result + Arrays.hashCode(_fixingPeriodAccrualFactor); result = prime * result + Arrays.hashCode(_fixingPeriodDate); result = prime * result + _index.hashCode(); final long temp = Double.doubleToLongBits(_spread); result = prime * result + (int) (temp ^ (temp >>> 32)); return result; }
From source file:com.opengamma.analytics.financial.instrument.payment.CouponArithmeticAverageONSpreadDefinition.java
@Override public int hashCode() { final int prime = 31; int result = super.hashCode(); result = prime * result + Arrays.hashCode(_fixingPeriodAccrualFactors); result = prime * result + Arrays.hashCode(_fixingPeriodDates); result = prime * result + _index.hashCode(); long temp;//w ww .java2 s . c om temp = Double.doubleToLongBits(_spread); result = prime * result + (int) (temp ^ (temp >>> 32)); temp = Double.doubleToLongBits(_spreadAmount); result = prime * result + (int) (temp ^ (temp >>> 32)); return result; }
From source file:org.apache.cassandra.db.Table.java
private Object indexLockFor(byte[] key) { return indexLocks[Math.abs(Arrays.hashCode(key) % indexLocks.length)]; }
From source file:com.opengamma.analytics.math.surface.DoublesSurface.java
@Override public int hashCode() { final int prime = 31; int result = super.hashCode(); result = prime * result + Arrays.hashCode(_xData); result = prime * result + Arrays.hashCode(_yData); result = prime * result + Arrays.hashCode(_zData); return result; }
From source file:uk.ac.diamond.scisoft.analysis.fitting.functions.AFunction.java
@Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + (dirty ? 1231 : 1237); result = prime * result + ((name == null) ? 0 : name.hashCode()); result = prime * result + Arrays.hashCode(parameters); return result; }
From source file:com.opengamma.util.timeseries.fast.integer.FastArrayIntDoubleTimeSeries.java
@Override public int hashCode() { return Arrays.hashCode(_values); }
From source file:com.opengamma.analytics.financial.instrument.inflation.CouponInflationZeroCouponInterpolationDefinition.java
@Override public int hashCode() { final int prime = 31; int result = super.hashCode(); result = prime * result + _fixingEndDate.hashCode(); long temp;// w ww . j av a 2 s . com temp = Double.doubleToLongBits(_indexStartValue); result = prime * result + (int) (temp ^ (temp >>> 32)); result = prime * result + Arrays.hashCode(_referenceEndDate); result = prime * result + _referenceStartDate.hashCode(); return result; }