Rabbit-R1/android (non root)/java/sources/com/google/common/hash/HashFunction.java

33 lines
741 B
Java
Raw Normal View History

2024-05-21 21:08:36 +00:00
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);
}