/** Returns an unspecified hash code for the contents of this immutable array. */ @Override public int hashCode() { int hash = 1; for (int i = start; i < end; i++) { hash *= 31; hash += Doubles.hashCode(array[i]); } return hash; }
@Override public int hashCode() { int result = 1; for (int i = start; i < end; i++) { result = 31 * result + Doubles.hashCode(array[i]); } return result; }
@Override public int hashCode() { int result = 1; for (int i = start; i < end; i++) { result = 31 * result + Doubles.hashCode(array[i]); } return result; }
/** Returns an unspecified hash code for the contents of this immutable array. */ @Override public int hashCode() { int hash = 1; for (int i = start; i < end; i++) { hash *= 31; hash += Doubles.hashCode(array[i]); } return hash; }
@Override public int hashCode() { int result = 1; for (int i = start; i < end; i++) { result = 31 * result + Doubles.hashCode(array[i]); } return result; }
/** Returns an unspecified hash code for the contents of this immutable array. */ @Override public int hashCode() { int hash = 1; for (int i = start; i < end; i++) { hash *= 31; hash += Doubles.hashCode(array[i]); } return hash; }
@Override public int hashCode() { return index ^ Doubles.hashCode(value); }
@Override public int hashCode() { return index ^ Doubles.hashCode(value); }
public void testHashCode() { for (double value : VALUES) { assertEquals(((Double) value).hashCode(), Doubles.hashCode(value)); } }
@Override public int hashCode() { int result = cardinality; for (VectorEntry entry : this) { result += entry.index() * Doubles.hashCode(entry.get()); } return result; }
/** * Computes a hash code from attributes: {@code totalDurationNanos}, {@code transactionCount}. * @return hashCode value */ @Override public int hashCode() { int h = 5381; h += (h << 5) + Doubles.hashCode(totalDurationNanos); h += (h << 5) + Longs.hashCode(transactionCount); return h; }
/** * Computes a hash code from attributes: {@code transactionName}, {@code totalDurationNanos}, {@code transactionCount}. * @return hashCode value */ @Override public int hashCode() { int h = 5381; h += (h << 5) + transactionName.hashCode(); h += (h << 5) + Doubles.hashCode(totalDurationNanos); h += (h << 5) + Longs.hashCode(transactionCount); return h; }
/** * Computes a hash code from attributes: {@code metric}, {@code transactionType}, {@code transactionName}, {@code percentile}, {@code threshold}, {@code lowerBoundThreshold}, {@code timePeriodSeconds}, {@code minTransactionCount}. * @return hashCode value */ @Override public int hashCode() { int h = 5381; h += (h << 5) + metric.hashCode(); h += (h << 5) + Objects.hashCode(transactionType); h += (h << 5) + Objects.hashCode(transactionName); h += (h << 5) + Objects.hashCode(percentile); h += (h << 5) + Doubles.hashCode(threshold); h += (h << 5) + Booleans.hashCode(lowerBoundThreshold); h += (h << 5) + timePeriodSeconds; h += (h << 5) + Longs.hashCode(minTransactionCount); return h; }
/** * Computes a hash code from attributes: {@code value}, {@code captureTick}. * @return hashCode value */ @Override public int hashCode() { @Var int h = 5381; h += (h << 5) + Doubles.hashCode(value); h += (h << 5) + Longs.hashCode(captureTick); return h; }
/** * Computes a hash code from attributes: {@code captureTime}, {@code totalDurationNanos}, {@code transactionCount}, {@code durationNanosHistogram}. * @return hashCode value */ @Override public int hashCode() { int h = 5381; h += (h << 5) + Longs.hashCode(captureTime); h += (h << 5) + Doubles.hashCode(totalDurationNanos); h += (h << 5) + Longs.hashCode(transactionCount); h += (h << 5) + durationNanosHistogram.hashCode(); return h; }
/** * Computes a hash code from attributes: {@code captureTime}, {@code totalDurationNanos}, {@code executionCount}, {@code errorIntervals}. * @return hashCode value */ @Override public int hashCode() { int h = 5381; h += (h << 5) + Longs.hashCode(captureTime); h += (h << 5) + Doubles.hashCode(totalDurationNanos); h += (h << 5) + Longs.hashCode(executionCount); h += (h << 5) + errorIntervals.hashCode(); return h; }
/** * Computes a hash code from attributes: {@code captureTime}, {@code totalDurationNanos}, {@code transactionCount}, {@code asyncTransactions}, {@code mainThreadRootTimers}, {@code mainThreadStats}, {@code auxThreadRootTimer}, {@code auxThreadStats}, {@code asyncTimers}. * @return hashCode value */ @Override public int hashCode() { int h = 5381; h += (h << 5) + Longs.hashCode(captureTime); h += (h << 5) + Doubles.hashCode(totalDurationNanos); h += (h << 5) + Longs.hashCode(transactionCount); h += (h << 5) + Booleans.hashCode(asyncTransactions); h += (h << 5) + mainThreadRootTimers.hashCode(); h += (h << 5) + mainThreadStats.hashCode(); h += (h << 5) + Objects.hashCode(auxThreadRootTimer); h += (h << 5) + Objects.hashCode(auxThreadStats); h += (h << 5) + asyncTimers.hashCode(); return h; }
@Override public int hashCode() { int result = 1; for (int i = start; i < end; i++) { result = 31 * result + Doubles.hashCode(array[i]); } return result; }
@Override public int hashCode() { int result = 1; for (int i = start; i < end; i++) { result = 31 * result + Doubles.hashCode(array[i]); } return result; }