@Override public int hashCode() { return Objects.hashCode(key, value); } }
@Override public int hashCode() { return Objects.hashCode(url, params); }
@Override public boolean equals(Object obj) { if (obj instanceof PersistentStoreConfig) { final PersistentStoreConfig<?> other = PersistentStoreConfig.class.cast(obj); return Objects.equal(name, other.name) && Objects.equal(valueSerializer, other.valueSerializer) && Objects.equal(mode, other.mode); } return false; }
@Override public int hashCode() { return Objects.hashCode(key, value); } }
@Override public boolean equals(Object obj) { if (this == obj) { return true; } if (obj == null || getClass() != obj.getClass()) { return false; } LogFormatConfig other = (LogFormatConfig) obj; return Objects.equal(regex, other.regex) && Objects.equal(maxErrors, other.maxErrors) && Objects.equal(schema, other.schema) && Objects.equal(extension, other.extension); }
/** * {@inheritDoc} * * <p><b>Note:</b> This hash code is consistent with exact equality of the calculated statistics, * including the floating point values. See the note on {@link #equals} for details. */ @Override public int hashCode() { return Objects.hashCode(xStats, yStats, sumOfProductsOfDeltas); }
@Override public boolean containsValue(@Nullable Object value) { for (V[] row : array) { for (V element : row) { if (Objects.equal(value, element)) { return true; } } } return false; }
@Override public int hashCode() { return Objects.hashCode(reader, writer); } }
@Override public boolean equals(@Nullable Object obj) { if (obj instanceof ConstantFunction) { ConstantFunction<?> that = (ConstantFunction<?>) obj; return Objects.equal(value, that.value); } return false; }
@Override public int hashCode() { return Objects.hashCode( hitCount, missCount, loadSuccessCount, loadExceptionCount, totalLoadTime, evictionCount); }
private BiEntry<K, V> seekByKey(@Nullable Object key, int keyHash) { for (BiEntry<K, V> entry = hashTableKToV[keyHash & mask]; entry != null; entry = entry.nextInKToVBucket) { if (keyHash == entry.keyHash && Objects.equal(key, entry.key)) { return entry; } } return null; }
@Override public int hashCode() { return Objects.hashCode(readSchema, writeSchema); }
private BiEntry<K, V> seekByValue(@Nullable Object value, int valueHash) { for (BiEntry<K, V> entry = hashTableVToK[valueHash & mask]; entry != null; entry = entry.nextInVToKBucket) { if (valueHash == entry.valueHash && Objects.equal(value, entry.value)) { return entry; } } return null; }
@Override public int hashCode() { return Objects.hashCode(name, serializer); }
@Override public boolean equals(@Nullable Object obj) { if (obj == this) { return true; } if (!(obj instanceof ElementOrder)) { return false; } ElementOrder<?> other = (ElementOrder<?>) obj; return (type == other.type) && Objects.equal(comparator, other.comparator); }
@Override public int hashCode() { return Objects.hashCode(numHashFunctions, funnel, strategy, bits); }
@Override public int hashCode() { return Objects.hashCode(function, supplier); }