Rabbit-R1/android (non root)/java/sources/com/google/common/hash/HashFunction.java
2024-05-21 17:08:36 -04:00

32 lines
741 B
Java

package com.google.common.hash;
import com.google.errorprone.annotations.Immutable;
import java.nio.ByteBuffer;
import java.nio.charset.Charset;
@Immutable
@ElementTypesAreNonnullByDefault
/* loaded from: classes3.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(@ParametricNullness T t, Funnel<? super T> funnel);
HashCode hashString(CharSequence charSequence, Charset charset);
HashCode hashUnencodedChars(CharSequence charSequence);
Hasher newHasher();
Hasher newHasher(int i);
}