what-the-bank/sources/com/google/common/hash/HashFunction.java

30 lines
625 B
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.google.common.hash;
import java.nio.ByteBuffer;
import java.nio.charset.Charset;
/* loaded from: classes2.dex */
public interface HashFunction {
int bits();
HashCode hashBytes(ByteBuffer byteBuffer);
HashCode hashBytes(byte[] bArr);
HashCode hashBytes(byte[] bArr, int i, int i2);
HashCode hashInt(int i);
HashCode hashLong(long j);
<T> HashCode hashObject(T t, Funnel<? super T> funnel);
HashCode hashString(CharSequence charSequence, Charset charset);
HashCode hashUnencodedChars(CharSequence charSequence);
Hasher newHasher();
Hasher newHasher(int i);
}