Uses of Interface
cloud.opencode.base.hash.Hasher
Packages that use Hasher
-
Uses of Hasher in cloud.opencode.base.hash
Methods in cloud.opencode.base.hash that return HasherModifier and TypeMethodDescriptionHashFunction.newHasher()Creates a new Hasher instance for streaming hash computation 创建新的Hasher实例用于流式哈希计算HashFunction.newHasher(int expectedInputSize) Creates a Hasher with expected input size hint 创建带预期输入大小提示的HasherHasher.putBoolean(boolean b) Adds a boolean value to the hash computation 向哈希计算添加boolean值Hasher.putByte(byte b) Adds a byte to the hash computation 向哈希计算添加一个字节Hasher.putBytes(byte[] bytes) Adds a byte array to the hash computation 向哈希计算添加字节数组Hasher.putBytes(byte[] bytes, int offset, int length) Adds a portion of a byte array to the hash computation 向哈希计算添加字节数组的一部分Hasher.putBytes(ByteBuffer buffer) Adds a ByteBuffer to the hash computation 向哈希计算添加ByteBufferHasher.putChar(char c) Adds a char value to the hash computation 向哈希计算添加char值Hasher.putDouble(double d) Adds a double value to the hash computation 向哈希计算添加double值Hasher.putFloat(float f) Adds a float value to the hash computation 向哈希计算添加float值Hasher.putInt(int i) Adds an int value to the hash computation 向哈希计算添加int值Hasher.putLong(long l) Adds a long value to the hash computation 向哈希计算添加long值<T> HasherAdds an object using a Funnel to the hash computation 使用Funnel向哈希计算添加对象Hasher.putShort(short s) Adds a short value to the hash computation 向哈希计算添加short值Hasher.putString(CharSequence charSequence, Charset charset) Adds a string with specified charset to the hash computation 向哈希计算添加指定字符集的字符串default HasherHasher.putUtf8(CharSequence charSequence) Adds a UTF-8 string to the hash computation 向哈希计算添加UTF-8字符串Methods in cloud.opencode.base.hash with parameters of type Hasher -
Uses of Hasher in cloud.opencode.base.hash.function
Classes in cloud.opencode.base.hash.function that implement HasherModifier and TypeClassDescriptionprotected static classAbstract base class for Hasher implementations Hasher实现的抽象基类protected static classBuffer-based hasher for accumulating bytes 基于缓冲区的hasher用于累积字节Methods in cloud.opencode.base.hash.function that return HasherModifier and TypeMethodDescriptionAbstractHashFunction.newHasher(int expectedInputSize) Adler32HashFunction.newHasher()Crc32HashFunction.newHasher()Fnv1aHashFunction.newHasher()HmacHashFunction.newHasher()MessageDigestHashFunction.newHasher()Murmur3HashFunction.newHasher()SipHashFunction.newHasher()XxHashFunction.newHasher()AbstractHashFunction.AbstractHasher.putBoolean(boolean b) AbstractHashFunction.BufferedHasher.putByte(byte b) AbstractHashFunction.AbstractHasher.putBytes(byte[] bytes) AbstractHashFunction.AbstractHasher.putBytes(ByteBuffer buffer) AbstractHashFunction.BufferedHasher.putBytes(byte[] bytes, int offset, int length) AbstractHashFunction.AbstractHasher.putChar(char c) AbstractHashFunction.AbstractHasher.putDouble(double d) AbstractHashFunction.AbstractHasher.putFloat(float f) AbstractHashFunction.AbstractHasher.putInt(int i) AbstractHashFunction.AbstractHasher.putLong(long l) <T> HasherAbstractHashFunction.AbstractHasher.putShort(short s) AbstractHashFunction.AbstractHasher.putString(CharSequence charSequence, Charset charset)