Uses of Class
cloud.opencode.base.hash.HashCode
Packages that use HashCode
-
Uses of HashCode in cloud.opencode.base.hash
Methods in cloud.opencode.base.hash that return HashCodeModifier and TypeMethodDescriptionstatic HashCodeOpenHash.combineOrdered(HashCode... hashCodes) Combines hash codes in order 按顺序组合哈希码static HashCodeOpenHash.combineUnordered(HashCode... hashCodes) Combines hash codes unordered (XOR) 无序组合哈希码(XOR)static HashCodeHashCode.fromBase64(String base64) Creates a HashCode from a Base64 string 从Base64字符串创建HashCodestatic HashCodeHashCode.fromBytes(byte[] bytes) Creates a HashCode from a byte array 从字节数组创建HashCodestatic HashCodeCreates a HashCode from a hexadecimal string 从十六进制字符串创建HashCodestatic HashCodeHashCode.fromInt(int hash) Creates a HashCode from an int value 从int值创建HashCodestatic HashCodeHashCode.fromLong(long hash) Creates a HashCode from a long value 从long值创建HashCodeHasher.hash()Computes the hash value 计算哈希值static HashCodeOpenHash.hash(byte[] input, HashFunction function) Hashes a byte array 哈希字节数组static HashCodeOpenHash.hash(CharSequence input, Charset charset, HashFunction function) Hashes a string 哈希字符串HashFunction.hashBytes(byte[] input) Computes hash of a byte array 计算字节数组的哈希HashFunction.hashBytes(byte[] input, int offset, int length) Computes hash of a byte array portion 计算字节数组部分的哈希default HashCodeComputes hash of a file 计算文件的哈希default HashCodeHashFunction.hashInputStream(InputStream inputStream) Computes hash of an InputStream 计算输入流的哈希HashFunction.hashInt(int input) Computes hash of an int value 计算int值的哈希HashFunction.hashLong(long input) Computes hash of a long value 计算long值的哈希<T> HashCodeHashFunction.hashObject(T instance, Funnel<? super T> funnel) Computes hash of an object using a Funnel 使用Funnel计算对象的哈希default HashCodeHashFunction.hashString(CharSequence input, Charset charset) Computes hash of a string with specified charset 计算指定字符集字符串的哈希default HashCodeHashFunction.hashUtf8(CharSequence input) Computes hash of a UTF-8 string 计算UTF-8字符串的哈希Methods in cloud.opencode.base.hash with parameters of type HashCodeModifier and TypeMethodDescriptionstatic HashCodeOpenHash.combineOrdered(HashCode... hashCodes) Combines hash codes in order 按顺序组合哈希码static HashCodeOpenHash.combineUnordered(HashCode... hashCodes) Combines hash codes unordered (XOR) 无序组合哈希码(XOR) -
Uses of HashCode in cloud.opencode.base.hash.function
Methods in cloud.opencode.base.hash.function that return HashCodeModifier and TypeMethodDescriptionprotected abstract HashCodeAbstractHashFunction.AbstractHasher.doHash()Performs the actual hash computation 执行实际的哈希计算final HashCodeAbstractHashFunction.AbstractHasher.hash()AbstractHashFunction.hashBytes(byte[] input) Adler32HashFunction.hashBytes(byte[] input, int offset, int length) Crc32HashFunction.hashBytes(byte[] input, int offset, int length) Fnv1aHashFunction.hashBytes(byte[] input, int offset, int length) HmacHashFunction.hashBytes(byte[] input, int offset, int length) MessageDigestHashFunction.hashBytes(byte[] input, int offset, int length) Murmur3HashFunction.hashBytes(byte[] input, int offset, int length) SipHashFunction.hashBytes(byte[] input, int offset, int length) XxHashFunction.hashBytes(byte[] input, int offset, int length) AbstractHashFunction.hashInt(int input) AbstractHashFunction.hashLong(long input) <T> HashCodeAbstractHashFunction.hashObject(T instance, Funnel<? super T> funnel)