Index

A B C D E F G H I J K M N O P R S T U V W X 
All Classes and Interfaces|All Packages

A

add(long) - Method in class com.dynatrace.hash4j.distinctcount.HyperLogLog
Adds a new element represented by a 64-bit hash value to this sketch.
add(long) - Method in class com.dynatrace.hash4j.distinctcount.UltraLogLog
Adds a new element represented by a 64-bit hash value to this sketch.
add(long, StateChangeObserver) - Method in class com.dynatrace.hash4j.distinctcount.HyperLogLog
Adds a new element represented by a 64-bit hash value to this sketch and passes, if the internal state has changed, decrements of the state change probability to the given StateChangeObserver.
add(long, StateChangeObserver) - Method in class com.dynatrace.hash4j.distinctcount.UltraLogLog
Adds a new element represented by a 64-bit hash value to this sketch and passes, if the internal state has changed, decrements of the state change probability to the given StateChangeObserver.
add(HyperLogLog) - Method in class com.dynatrace.hash4j.distinctcount.HyperLogLog
Adds another sketch.
add(UltraLogLog) - Method in class com.dynatrace.hash4j.distinctcount.UltraLogLog
Adds another sketch.
addBucket() - Method in interface com.dynatrace.hash4j.consistent.ConsistentBucketSetHasher
Creates a new bucket and returns the ID of the new bucket.
addToken(int) - Method in class com.dynatrace.hash4j.distinctcount.HyperLogLog
Adds a new element represented by a 32-bit token obtained from HyperLogLog.computeToken(long).
addToken(int) - Method in class com.dynatrace.hash4j.distinctcount.UltraLogLog
Adds a new element represented by a 32-bit token obtained from UltraLogLog.computeToken(long).
addToken(int, StateChangeObserver) - Method in class com.dynatrace.hash4j.distinctcount.HyperLogLog
Adds a new element, represented by a 32-bit token obtained from HyperLogLog.computeToken(long), to this sketch and passes, if the internal state has changed, decrements of the state change probability to the given StateChangeObserver.
addToken(int, StateChangeObserver) - Method in class com.dynatrace.hash4j.distinctcount.UltraLogLog
Adds a new element, represented by a 32-bit token obtained from UltraLogLog.computeToken(long), to this sketch and passes, if the internal state has changed, decrements of the state change probability to the given StateChangeObserver.
ArraySizeUtil - Class in com.dynatrace.hash4j.internal
Utility class for resizing arrays.

B

ByteAccess<T> - Interface in com.dynatrace.hash4j.hashing
Strategy to access contiguous bytes of a data object.
ByteArrayUtil - Class in com.dynatrace.hash4j.internal
Utility class for byte arrays.

C

checkArgument(boolean) - Static method in class com.dynatrace.hash4j.internal.Preconditions
Throws an IllegalArgumentException if the given expression evaluates to false.
checkArgument(boolean, String) - Static method in class com.dynatrace.hash4j.internal.Preconditions
Throws an IllegalArgumentException if the given expression evaluates to false.
checkArgument(boolean, String, long) - Static method in class com.dynatrace.hash4j.internal.Preconditions
Throws an IllegalArgumentException if the given expression evaluates to false.
checkState(boolean) - Static method in class com.dynatrace.hash4j.internal.Preconditions
Throws an IllegalStateException if the given expression evaluates to false.
clear(byte[]) - Method in interface com.dynatrace.hash4j.util.PackedArray.PackedArrayHandler
Sets all components of the given packed array to 0.
com.dynatrace.hash4j.consistent - package com.dynatrace.hash4j.consistent
Consistent hash algorithms for load balancing, sharding, task distribution, etc.
com.dynatrace.hash4j.distinctcount - package com.dynatrace.hash4j.distinctcount
Algorithms and data structures for approximate distinct counting
com.dynatrace.hash4j.file - package com.dynatrace.hash4j.file
Algorithms for file hashing
com.dynatrace.hash4j.hashing - package com.dynatrace.hash4j.hashing
Hash algorithms
com.dynatrace.hash4j.internal - package com.dynatrace.hash4j.internal
Helper classes.
com.dynatrace.hash4j.random - package com.dynatrace.hash4j.random
Algorithms for pseudo-random number generation
com.dynatrace.hash4j.similarity - package com.dynatrace.hash4j.similarity
Algorithms for similarity hashing
com.dynatrace.hash4j.util - package com.dynatrace.hash4j.util
Utilities
compute(ElementHashProvider) - Method in interface com.dynatrace.hash4j.similarity.SimilarityHasher
Computes a hash signature for a given collection of 64-bit element hash values provided by the given element hash provider.
computeToken(long) - Static method in class com.dynatrace.hash4j.distinctcount.HyperLogLog
Computes a token from a given 64-bit hash value.
computeToken(long) - Static method in class com.dynatrace.hash4j.distinctcount.UltraLogLog
Computes a token from a given 64-bit hash value.
ConsistentBucketHasher - Interface in com.dynatrace.hash4j.consistent
A hash function that maps a given hash consistently to a bucket index of given range.
ConsistentBucketSetHasher - Interface in com.dynatrace.hash4j.consistent
A hash function that maps a given hash consistently to a bucket from a set of buckets.
ConsistentHashing - Class in com.dynatrace.hash4j.consistent
Consistent hash algorithms.
copy() - Method in class com.dynatrace.hash4j.distinctcount.HyperLogLog
Creates a copy of this sketch.
copy() - Method in class com.dynatrace.hash4j.distinctcount.UltraLogLog
Creates a copy of this sketch.
copy() - Method in interface com.dynatrace.hash4j.hashing.HashStream128
 
copy() - Method in interface com.dynatrace.hash4j.hashing.HashStream32
Creates a copy of this hash stream.
copy() - Method in interface com.dynatrace.hash4j.hashing.HashStream64
 
copyCharsToByteArray(CharSequence, int, byte[], int, int) - Static method in class com.dynatrace.hash4j.internal.ByteArrayUtil
Copies a given number of characters from a CharSequence into a byte array.
copyToByteArray(T, long, byte[], int, int) - Method in interface com.dynatrace.hash4j.hashing.ByteAccess
Copies a given number of bytes from the data object into a given byte[] array.
CORRECTED_RAW_ESTIMATOR - Static variable in class com.dynatrace.hash4j.distinctcount.HyperLogLog
Bias-reduced version of the standard HyperLogLog estimator using small range and large range correction as described in (Ertl2017).
create() - Method in interface com.dynatrace.hash4j.random.PseudoRandomGeneratorProvider
Creates a new PseudoRandomGenerator instance.
create(int) - Static method in class com.dynatrace.hash4j.distinctcount.HyperLogLog
Creates an empty HyperLogLog sketch with given precision.
create(int) - Static method in class com.dynatrace.hash4j.distinctcount.UltraLogLog
Creates an empty UltraLogLog sketch with given precision.
create(int) - Method in interface com.dynatrace.hash4j.util.PackedArray.PackedArrayHandler
Creates a byte array that can store a packed array having the given number of components.
create(long) - Method in interface com.dynatrace.hash4j.random.PseudoRandomGeneratorProvider
Creates a new PseudoRandomGenerator instance and sets a seed.
create(UltraLogLog) - Static method in class com.dynatrace.hash4j.distinctcount.HyperLogLog
Creates a HyperLogLog sketch from an UltraLogLog sketch with same precision.
create(PackedArray.IndexedLongValueProvider, int) - Method in interface com.dynatrace.hash4j.util.PackedArray.PackedArrayHandler
Returns a byte array that represents a packed array having the given number of components.
createHasher() - Method in interface com.dynatrace.hash4j.similarity.SimilarityHashPolicy
Creates a new SimilarityHasher instance.

D

deduplicateTokens(int[], int, int) - Static method in class com.dynatrace.hash4j.distinctcount.DistinctCountUtil
Utility function for deduplicating hash tokens.
DEFAULT - Enum constant in enum class com.dynatrace.hash4j.similarity.FastSimHashVersion
Default version.
DEFAULT - Enum constant in enum class com.dynatrace.hash4j.similarity.MinHashVersion
Default version.
DEFAULT - Enum constant in enum class com.dynatrace.hash4j.similarity.SimHashVersion
Default version.
DEFAULT - Enum constant in enum class com.dynatrace.hash4j.similarity.SuperMinHashVersion
Default version.
DEFAULT_ESTIMATOR - Static variable in class com.dynatrace.hash4j.distinctcount.HyperLogLog
The default estimator.
DEFAULT_ESTIMATOR - Static variable in class com.dynatrace.hash4j.distinctcount.UltraLogLog
The default estimator.
DistinctCountUtil - Class in com.dynatrace.hash4j.distinctcount
A utility functions for distinct counting.
downsize(int) - Method in class com.dynatrace.hash4j.distinctcount.HyperLogLog
Returns a downsized copy of this sketch with a precision that is not larger than the given precision parameter.
downsize(int) - Method in class com.dynatrace.hash4j.distinctcount.UltraLogLog
Returns a downsized copy of this sketch with a precision that is not larger than the given precision parameter.

E

ElementHashProvider - Interface in com.dynatrace.hash4j.similarity
An element hash provider.
EMPTY_BOOLEAN_ARRAY - Static variable in class com.dynatrace.hash4j.internal.EmptyArray
An empty boolean array.
EMPTY_BYTE_ARRAY - Static variable in class com.dynatrace.hash4j.internal.EmptyArray
An empty byte array.
EMPTY_CHAR_ARRAY - Static variable in class com.dynatrace.hash4j.internal.EmptyArray
An empty char array.
EMPTY_DOUBLE_ARRAY - Static variable in class com.dynatrace.hash4j.internal.EmptyArray
An empty double array.
EMPTY_FLOAT_ARRAY - Static variable in class com.dynatrace.hash4j.internal.EmptyArray
An empty float array.
EMPTY_INT_ARRAY - Static variable in class com.dynatrace.hash4j.internal.EmptyArray
An empty int array.
EMPTY_LONG_ARRAY - Static variable in class com.dynatrace.hash4j.internal.EmptyArray
An empty long array.
EMPTY_SHORT_ARRAY - Static variable in class com.dynatrace.hash4j.internal.EmptyArray
An empty short array.
EmptyArray - Class in com.dynatrace.hash4j.internal
Utility class defining empty arrays.
equals(Object) - Method in class com.dynatrace.hash4j.hashing.HashValue128
 

F

farmHashNa() - Static method in class com.dynatrace.hash4j.hashing.Hashing
Returns a Hasher64 implementing the 64-bit FarmHashNa algorithm with default seed.
farmHashNa(long) - Static method in class com.dynatrace.hash4j.hashing.Hashing
Returns a Hasher64 implementing the 64-bit FarmHashNa algorithm using the given seed value.
farmHashNa(long, long) - Static method in class com.dynatrace.hash4j.hashing.Hashing
Returns a Hasher64 implementing the 64-bit FarmHashNa algorithm using the given seed values.
farmHashUo() - Static method in class com.dynatrace.hash4j.hashing.Hashing
Returns a Hasher64 implementing the 64-bit FarmHashUo algorithm with default seed.
farmHashUo(long) - Static method in class com.dynatrace.hash4j.hashing.Hashing
Returns a Hasher64 implementing the 64-bit FarmHashUo algorithm using the given seed value.
farmHashUo(long, long) - Static method in class com.dynatrace.hash4j.hashing.Hashing
Returns a Hasher64 implementing the 64-bit FarmHashUo algorithm using the given seed values.
fastSimHash(int) - Static method in interface com.dynatrace.hash4j.similarity.SimilarityHashing
Returns a SimilarityHashPolicy for FastSimHash, which is a fast implementation of the SimHash algorithm as introduced in Moses S.
fastSimHash(int, FastSimHashVersion) - Static method in interface com.dynatrace.hash4j.similarity.SimilarityHashing
Returns a SimilarityHashPolicy for FastSimHash, which is a fast implementation of the SimHash algorithm as introduced in Moses S.
FastSimHashVersion - Enum Class in com.dynatrace.hash4j.similarity
Versions of FastSimHash implementations.
FileHasher128 - Interface in com.dynatrace.hash4j.file
A 128-bit hash function for files and input streams.
FileHashing - Interface in com.dynatrace.hash4j.file
Various implementations of hash functions for files.
forEntry(HashFunnel<K>, HashFunnel<V>) - Static method in interface com.dynatrace.hash4j.hashing.HashFunnel
Returns a HashFunnel instance for Map.Entry objects.
forString() - Static method in interface com.dynatrace.hash4j.hashing.HashFunnel
Returns a HashFunnel instance for String objects.

G

get() - Method in interface com.dynatrace.hash4j.hashing.HashStream128
Returns a 128-bit hash value.
get(byte[], int) - Method in interface com.dynatrace.hash4j.util.PackedArray.PackedArrayHandler
Returns the value of a component in a packed array.
getAsInt() - Method in interface com.dynatrace.hash4j.hashing.HashStream32
Returns a 32-bit hash value.
getAsInt() - Method in class com.dynatrace.hash4j.hashing.HashValue128
Returns the 32 least significant bits of the hash value.
getAsLong() - Method in interface com.dynatrace.hash4j.hashing.HashStream64
Returns a 64-bit hash value.
getAsLong() - Method in class com.dynatrace.hash4j.hashing.HashValue128
Returns the 64 least significant bits of the hash value.
getBitSize() - Method in interface com.dynatrace.hash4j.util.PackedArray.PackedArrayHandler
The number of bits of a single component.
getBucket(long) - Method in interface com.dynatrace.hash4j.consistent.ConsistentBucketSetHasher
Returns a bucket ID based on a 64-bit hash value of the key.
getBucket(long, int) - Method in interface com.dynatrace.hash4j.consistent.ConsistentBucketHasher
Returns a bucket index in the range [0, numBuckets) based on a 64-bit hash value of the key.
getBuckets() - Method in interface com.dynatrace.hash4j.consistent.ConsistentBucketSetHasher
Returns an array of all bucket IDs.
getByte(T, long) - Method in interface com.dynatrace.hash4j.hashing.ByteAccess
Returns the byte at a certain position from the given data object as byte.
getByteAsUnsignedInt(T, long) - Method in interface com.dynatrace.hash4j.hashing.ByteAccess
Returns the byte at a certain position from the given data object as non-negative int.
getByteAsUnsignedLong(T, long) - Method in interface com.dynatrace.hash4j.hashing.ByteAccess
Returns the byte at a certain position from the given data object as non-negative long.
getChar(byte[], int) - Static method in class com.dynatrace.hash4j.internal.ByteArrayUtil
Reads a char from a byte array with given offset.
getComponent(byte[], int) - Method in interface com.dynatrace.hash4j.similarity.SimilarityHashPolicy
Returns the value of some component of a given hash signature.
getComponentSizeInBits() - Method in interface com.dynatrace.hash4j.similarity.SimilarityHashPolicy
The size of one single hash signature component in bits.
getDistinctCountEstimate() - Method in class com.dynatrace.hash4j.distinctcount.HyperLogLog
Returns an estimate of the number of distinct elements added to this sketch.
getDistinctCountEstimate() - Method in class com.dynatrace.hash4j.distinctcount.MartingaleEstimator
Returns the distinct count estimate.
getDistinctCountEstimate() - Method in class com.dynatrace.hash4j.distinctcount.UltraLogLog
Returns an estimate of the number of distinct elements added to this sketch.
getDistinctCountEstimate(HyperLogLog.Estimator) - Method in class com.dynatrace.hash4j.distinctcount.HyperLogLog
Returns an estimate of the number of distinct elements added to this sketch using the given estimator.
getDistinctCountEstimate(UltraLogLog.Estimator) - Method in class com.dynatrace.hash4j.distinctcount.UltraLogLog
Returns an estimate of the number of distinct elements added to this sketch using the given estimator.
getElementHash(int) - Method in interface com.dynatrace.hash4j.similarity.ElementHashProvider
Returns a 64-bit hash value of the element with given index.
getFractionOfEqualComponents(byte[], byte[]) - Method in interface com.dynatrace.hash4j.similarity.SimilarityHashPolicy
Returns the fraction of equal components of two given hash signatures.
getHandler(int) - Static method in class com.dynatrace.hash4j.util.PackedArray
Returns a packed array handler that provides methods for compactly storing fixed bit size components in a byte array.
getHashBitSize() - Method in interface com.dynatrace.hash4j.hashing.Hasher128
The size of the hash value in bits.
getHashBitSize() - Method in interface com.dynatrace.hash4j.hashing.HashStream128
The size of the hash value in bits.
getHasher() - Method in interface com.dynatrace.hash4j.hashing.HashStream128
 
getHasher() - Method in interface com.dynatrace.hash4j.hashing.HashStream32
Returns a reference of the underlying hasher.
getHasher() - Method in interface com.dynatrace.hash4j.hashing.HashStream64
 
getInt(byte[], int) - Static method in class com.dynatrace.hash4j.internal.ByteArrayUtil
Reads an int value from a byte array with given offset.
getInt(CharSequence, int) - Static method in class com.dynatrace.hash4j.internal.ByteArrayUtil
Reads an int value from a CharSequence with given offset.
getInt(T, long) - Method in interface com.dynatrace.hash4j.hashing.ByteAccess
Returns 4 subsequent bytes starting at a certain position from the given data object as int.
getIntAsUnsignedLong(T, long) - Method in interface com.dynatrace.hash4j.hashing.ByteAccess
Returns 4 subsequent bytes starting at a certain position from the given data object as non-negative long.
getLeastSignificantBits() - Method in class com.dynatrace.hash4j.hashing.HashValue128
Returns the 64 least significant bits of the hash value.
getLong(byte[], int) - Static method in class com.dynatrace.hash4j.internal.ByteArrayUtil
Reads a long value from a byte array with given offset.
getLong(CharSequence, int) - Static method in class com.dynatrace.hash4j.internal.ByteArrayUtil
Reads a long value from a CharSequence with given offset.
getLong(T, long) - Method in interface com.dynatrace.hash4j.hashing.ByteAccess
Returns 8 subsequent bytes starting at a certain position from the given data object as long.
getMostSignificantBits() - Method in class com.dynatrace.hash4j.hashing.HashValue128
Returns the 64 most significant bits of the hash value.
getNumberOfComponents() - Method in interface com.dynatrace.hash4j.similarity.SimilarityHashPolicy
Returns the number of hash signature components.
getNumberOfElements() - Method in interface com.dynatrace.hash4j.similarity.ElementHashProvider
Returns the number of elements.
getNumberOfEqualComponents(byte[], byte[]) - Method in interface com.dynatrace.hash4j.similarity.SimilarityHashPolicy
Returns the number of equal components of two given hash signatures.
getNumBuckets() - Method in interface com.dynatrace.hash4j.consistent.ConsistentBucketSetHasher
Returns the total number of buckets.
getP() - Method in class com.dynatrace.hash4j.distinctcount.HyperLogLog
Returns the precision parameter of this sketch.
getP() - Method in class com.dynatrace.hash4j.distinctcount.UltraLogLog
Returns the precision parameter of this sketch.
getShort(byte[], int) - Static method in class com.dynatrace.hash4j.internal.ByteArrayUtil
Reads a short value from a byte array with given offset.
getSignatureSizeInBytes() - Method in interface com.dynatrace.hash4j.similarity.SimilarityHashPolicy
Returns the hash signature size in bytes.
getState() - Method in interface com.dynatrace.hash4j.consistent.ConsistentBucketSetHasher
Returns the internal state as byte array.
getState() - Method in class com.dynatrace.hash4j.distinctcount.HyperLogLog
Returns a reference to the internal state of this sketch.
getState() - Method in class com.dynatrace.hash4j.distinctcount.UltraLogLog
Returns a reference to the internal state of this sketch.
getState() - Method in interface com.dynatrace.hash4j.hashing.HashStream128
 
getState() - Method in interface com.dynatrace.hash4j.hashing.HashStream32
Returns the state of the hash stream.
getState() - Method in interface com.dynatrace.hash4j.hashing.HashStream64
 
getStateChangeProbability() - Method in class com.dynatrace.hash4j.distinctcount.HyperLogLog
Returns the probability of an internal state change when a new distinct element is added.
getStateChangeProbability() - Method in class com.dynatrace.hash4j.distinctcount.UltraLogLog
Returns the probability of an internal state change when a new distinct element is added.
getValue(int) - Method in interface com.dynatrace.hash4j.util.PackedArray.IndexedLongValueProvider
Returns the long value associated with the given index.

H

hash4j - module hash4j
Hash4j
hashBytesTo128Bits(byte[]) - Method in interface com.dynatrace.hash4j.hashing.Hasher128
Hashes a byte array to a 128-bit HashValue128 value.
hashBytesTo128Bits(byte[], int, int) - Method in interface com.dynatrace.hash4j.hashing.Hasher128
Hashes a byte array to a 128-bit HashValue128 value.
hashBytesTo128Bits(T, long, long, ByteAccess<T>) - Method in interface com.dynatrace.hash4j.hashing.Hasher128
Hashes a sequence of bytes to a 128-bit HashValue128 value
hashBytesToInt(byte[]) - Method in interface com.dynatrace.hash4j.hashing.Hasher32
Hashes a byte array to a 32-bit integer value.
hashBytesToInt(byte[], int, int) - Method in interface com.dynatrace.hash4j.hashing.Hasher32
Hashes a byte array to a 32-bit integer value.
hashBytesToInt(T, long, long, ByteAccess<T>) - Method in interface com.dynatrace.hash4j.hashing.Hasher32
Hashes a sequence of bytes to a 32-bit int value
hashBytesToLong(byte[]) - Method in interface com.dynatrace.hash4j.hashing.Hasher64
Hashes a byte array to a 64-bit long value.
hashBytesToLong(byte[], int, int) - Method in interface com.dynatrace.hash4j.hashing.Hasher64
Hashes a byte array to a 64-bit long value.
hashBytesToLong(T, long, long, ByteAccess<T>) - Method in interface com.dynatrace.hash4j.hashing.Hasher64
Hashes a sequence of bytes to a 64-bit long value
hashCharsTo128Bits(CharSequence) - Method in interface com.dynatrace.hash4j.hashing.Hasher128
Hashes a CharSequence to a 128-bit HashValue128 value.
hashCharsToInt(CharSequence) - Method in interface com.dynatrace.hash4j.hashing.Hasher32
Hashes a CharSequence to a 32-bit int value.
hashCharsToLong(CharSequence) - Method in interface com.dynatrace.hash4j.hashing.Hasher64
Hashes a CharSequence to a 64-bit long value.
hashCode() - Method in class com.dynatrace.hash4j.hashing.HashValue128
 
Hasher128 - Interface in com.dynatrace.hash4j.hashing
A 128-bit hash function.
Hasher32 - Interface in com.dynatrace.hash4j.hashing
A 32-bit hash function.
Hasher64 - Interface in com.dynatrace.hash4j.hashing
A 64-bit hash function.
hashFileTo128Bits(File) - Method in interface com.dynatrace.hash4j.file.FileHasher128
Calculates a 128-bit hash value for the given file.
hashFileTo128Bits(Path) - Method in interface com.dynatrace.hash4j.file.FileHasher128
Calculates a 128-bit hash value for the given path.
HashFunnel<T> - Interface in com.dynatrace.hash4j.hashing
A hash funnel describing how objects of a given type are put into a HashSink.
Hashing - Class in com.dynatrace.hash4j.hashing
Various implementations of hash functions.
hashInputStreamTo128Bits(InputStream, long) - Method in interface com.dynatrace.hash4j.file.FileHasher128
Calculates a 128-bit hash value for a given number of bytes of the given input stream.
hashIntIntIntToInt(int, int, int) - Method in interface com.dynatrace.hash4j.hashing.Hasher32
Hashes/Mixes three 32-bit int values into a 32-bit int value.
hashIntIntIntToLong(int, int, int) - Method in interface com.dynatrace.hash4j.hashing.Hasher64
Hashes/Mixes three 32-bit int values into a 64-bit long value.
hashIntIntToInt(int, int) - Method in interface com.dynatrace.hash4j.hashing.Hasher32
Hashes/Mixes two 32-bit int values into a 32-bit int value.
hashIntIntToLong(int, int) - Method in interface com.dynatrace.hash4j.hashing.Hasher64
Hashes/Mixes two 32-bit int values into a 64-bit long value.
hashIntLongToInt(int, long) - Method in interface com.dynatrace.hash4j.hashing.Hasher32
Hashes/Mixes a 32-bit int value and a 64-bit long value into a 32-bit int value.
hashIntLongToLong(int, long) - Method in interface com.dynatrace.hash4j.hashing.Hasher64
Hashes/Mixes a 32-bit int value and a 64-bit long value into a 64-bit long value.
hashIntToInt(int) - Method in interface com.dynatrace.hash4j.hashing.Hasher32
Hashes a 32-bit int value into a 32-bit int value.
hashIntToLong(int) - Method in interface com.dynatrace.hash4j.hashing.Hasher64
Hashes a 32-bit int value into a 64-bit long value.
hashLongIntToInt(long, int) - Method in interface com.dynatrace.hash4j.hashing.Hasher32
Hashes/Mixes a 64-bit long value and a 32-bit int value into a 32-bit int value.
hashLongIntToLong(long, int) - Method in interface com.dynatrace.hash4j.hashing.Hasher64
Hashes/Mixes a 64-bit long value and a 32-bit int value into a 64-bit long value.
hashLongLongLongToInt(long, long, long) - Method in interface com.dynatrace.hash4j.hashing.Hasher32
Hashes/Mixes three 64-bit long values into a 32-bit int value.
hashLongLongLongToLong(long, long, long) - Method in interface com.dynatrace.hash4j.hashing.Hasher64
Hashes/Mixes three 64-bit long values into a 64-bit long value.
hashLongLongToInt(long, long) - Method in interface com.dynatrace.hash4j.hashing.Hasher32
Hashes/Mixes two 64-bit long values into a 32-bit int value.
hashLongLongToLong(long, long) - Method in interface com.dynatrace.hash4j.hashing.Hasher64
Hashes/Mixes two 64-bit long values into a 64-bit long value.
hashLongToInt(long) - Method in interface com.dynatrace.hash4j.hashing.Hasher32
Hashes a 64-bit long value into a 32-bit int value.
hashLongToLong(long) - Method in interface com.dynatrace.hash4j.hashing.Hasher64
Hashes a 64-bit long value into a 64-bit long value.
HashSink - Interface in com.dynatrace.hash4j.hashing
A sink that accepts various data types contributing to the hash computation.
hashStream() - Method in interface com.dynatrace.hash4j.hashing.Hasher128
Starts a hash stream.
hashStream() - Method in interface com.dynatrace.hash4j.hashing.Hasher32
Starts a hash stream.
hashStream() - Method in interface com.dynatrace.hash4j.hashing.Hasher64
Starts a hash stream.
HashStream128 - Interface in com.dynatrace.hash4j.hashing
A hash stream computing a 128-bit hash value.
HashStream32 - Interface in com.dynatrace.hash4j.hashing
A hash stream computing a 32-bit hash value.
HashStream64 - Interface in com.dynatrace.hash4j.hashing
A hash stream computing a 64-bit hash value.
hashStreamFromState(byte[]) - Method in interface com.dynatrace.hash4j.hashing.Hasher128
Reconstructs a hash stream from a given state.
hashStreamFromState(byte[]) - Method in interface com.dynatrace.hash4j.hashing.Hasher32
Reconstructs a hash stream from a given state.
hashStreamFromState(byte[]) - Method in interface com.dynatrace.hash4j.hashing.Hasher64
Reconstructs a hash stream from a given state.
hashTo128Bits(T, HashFunnel<T>) - Method in interface com.dynatrace.hash4j.hashing.Hasher128
Hashes an object to a 128-bit HashValue128 value.
hashToInt(T, HashFunnel<T>) - Method in interface com.dynatrace.hash4j.hashing.Hasher32
Hashes an object to a 32-bit integer value.
hashToLong(T, HashFunnel<T>) - Method in interface com.dynatrace.hash4j.hashing.Hasher64
Hashes an object to a 64-bit long value.
HashValue128 - Class in com.dynatrace.hash4j.hashing
Represents a 128-bit hash value.
HashValue128(long, long) - Constructor for class com.dynatrace.hash4j.hashing.HashValue128
Constructor.
HashValues - Class in com.dynatrace.hash4j.hashing
Utility class for hash values.
hasNext() - Method in class com.dynatrace.hash4j.random.PermutationGenerator
Test if there are more permutation elements.
hasNext() - Method in interface com.dynatrace.hash4j.util.PackedArray.PackedArrayReadIterator
Returns true if the iteration has more components.
HyperLogLog - Class in com.dynatrace.hash4j.distinctcount
A HyperLogLog implementation for approximate distinct counting.
HyperLogLog.Estimator - Interface in com.dynatrace.hash4j.distinctcount
A distinct count estimator for HyperLogLog.

I

imohash1_0_2() - Static method in interface com.dynatrace.hash4j.file.FileHashing
Returns a FileHasher128 implementing version 1.0.2 of the Imohash algorithm using default parameters.
imohash1_0_2(int, long) - Static method in interface com.dynatrace.hash4j.file.FileHashing
Returns a FileHasher128 implementing version 1.0.2 of the Imohash algorithm using default parameters.
improvedConsistentWeightedSampling(PseudoRandomGeneratorProvider) - Static method in class com.dynatrace.hash4j.consistent.ConsistentHashing
increaseArraySize(int, int) - Static method in class com.dynatrace.hash4j.internal.ArraySizeUtil
Returns a new array size that is greater than the current array size and that supports the given required index.
isEmpty() - Method in class com.dynatrace.hash4j.distinctcount.HyperLogLog
Returns true if the sketch is empty, corresponding to the initial state.
isEmpty() - Method in class com.dynatrace.hash4j.distinctcount.UltraLogLog
Returns true if the sketch is empty, corresponding to the initial state.

J

jumpBackAnchorHash(PseudoRandomGeneratorProvider) - Static method in class com.dynatrace.hash4j.consistent.ConsistentHashing
jumpBackHash(PseudoRandomGeneratorProvider) - Static method in class com.dynatrace.hash4j.consistent.ConsistentHashing
jumpHash(PseudoRandomGeneratorProvider) - Static method in class com.dynatrace.hash4j.consistent.ConsistentHashing

K

komihash4_3() - Static method in class com.dynatrace.hash4j.hashing.Hashing
Returns a Hasher64 implementing the 64-bit Komihash (version 4.3) algorithm using a seed value of zero.
komihash4_3(long) - Static method in class com.dynatrace.hash4j.hashing.Hashing
Returns a Hasher64 implementing the 64-bit Komihash (version 4.3) algorithm using the given seed value.
komihash5_0() - Static method in class com.dynatrace.hash4j.hashing.Hashing
Returns a Hasher64 implementing the 64-bit Komihash (version 5.0) algorithm using a seed value of zero.
komihash5_0(long) - Static method in class com.dynatrace.hash4j.hashing.Hashing
Returns a Hasher64 implementing the 64-bit Komihash (version 5.0) algorithm using the given seed value.

M

MartingaleEstimator - Class in com.dynatrace.hash4j.distinctcount
A martingale estimator, that can be used in conjunction with a distinct counter such as HyperLogLog or UltraLogLog to obtain slightly more accurate estimates for non-distributed data streams than the corresponding standard estimators.
MartingaleEstimator() - Constructor for class com.dynatrace.hash4j.distinctcount.MartingaleEstimator
Constructor.
MartingaleEstimator(double, double) - Constructor for class com.dynatrace.hash4j.distinctcount.MartingaleEstimator
Constructor.
MAXIMUM_LIKELIHOOD_ESTIMATOR - Static variable in class com.dynatrace.hash4j.distinctcount.HyperLogLog
A bias-reduced version of the maximum-likelihood estimator described in (Ertl2017).
MAXIMUM_LIKELIHOOD_ESTIMATOR - Static variable in class com.dynatrace.hash4j.distinctcount.UltraLogLog
Bias-reduced maximum-likelihood estimator.
merge(HyperLogLog, HyperLogLog) - Static method in class com.dynatrace.hash4j.distinctcount.HyperLogLog
Merges two HyperLogLog sketches into a new sketch.
merge(UltraLogLog, UltraLogLog) - Static method in class com.dynatrace.hash4j.distinctcount.UltraLogLog
Merges two UltraLogLog sketches into a new sketch.
minHash(int, int) - Static method in interface com.dynatrace.hash4j.similarity.SimilarityHashing
Returns a SimilarityHashPolicy for a modified version of b-bit minwise hashing described in Ping Li and Christian König, B-Bit minwise hashing, 2010..
minHash(int, int, MinHashVersion) - Static method in interface com.dynatrace.hash4j.similarity.SimilarityHashing
Returns a SimilarityHashPolicy for a modified version of b-bit minwise hashing described in Ping Li and Christian König, B-Bit minwise hashing, 2010..
MinHashVersion - Enum Class in com.dynatrace.hash4j.similarity
Versions of MinHash implementations.
murmur3_128() - Static method in class com.dynatrace.hash4j.hashing.Hashing
Returns a Hasher128 implementing the 128-bit Murmur3 algorithm (little-endian) using a seed value of zero.
murmur3_128(int) - Static method in class com.dynatrace.hash4j.hashing.Hashing
Returns a Hasher128 implementing the 128-bit Murmur3 algorithm (little-endian) using the given seed value.
murmur3_32() - Static method in class com.dynatrace.hash4j.hashing.Hashing
Returns a Hasher32 implementing the 32-bit Murmur3 algorithm (little-endian) using a seed value of zero.
murmur3_32(int) - Static method in class com.dynatrace.hash4j.hashing.Hashing
Returns a Hasher32 implementing the 32-bit Murmur3 algorithm (little-endian) using the given seed value.

N

next() - Method in interface com.dynatrace.hash4j.util.PackedArray.PackedArrayReadIterator
Returns the value of the next component in the iteration.
next(PseudoRandomGenerator) - Method in class com.dynatrace.hash4j.random.PermutationGenerator
Returns the next element of the permutation.
nextDouble() - Method in interface com.dynatrace.hash4j.random.PseudoRandomGenerator
Returns a random uniformly distributed double value in the range [0, 1).
nextExponential() - Method in interface com.dynatrace.hash4j.random.PseudoRandomGenerator
Returns an exponentially distributed double value with mean 1.
nextInt() - Method in interface com.dynatrace.hash4j.random.PseudoRandomGenerator
Returns a random uniformly distributed 32-bit int value.
nextLong() - Method in interface com.dynatrace.hash4j.random.PseudoRandomGenerator
Returns a random uniformly distributed 64-bit long value.
numBytes(int) - Method in interface com.dynatrace.hash4j.util.PackedArray.PackedArrayHandler
Returns the number of bytes needed to store a packed array having the given number of components.
numEqualComponents(byte[], byte[], int) - Method in interface com.dynatrace.hash4j.util.PackedArray.PackedArrayHandler
Returns the number of equal components of two packed arrays with given length.

O

ofCollection(Collection<T>, ToLongFunction<? super T>) - Static method in interface com.dynatrace.hash4j.similarity.ElementHashProvider
Creates an ElementHashProvider given a collection of elements and a function that maps an element to a 64-bit hash value.
ofFunction(IntToLongFunction, int) - Static method in interface com.dynatrace.hash4j.similarity.ElementHashProvider
Creates an ElementHashProvider given a function that maps an element index to its corresponding hash value for a given number of elements.
ofValues(long...) - Static method in interface com.dynatrace.hash4j.similarity.ElementHashProvider
Creates an ElementHashProvider given a non-empty list of element hashes.
OPTIMAL_FGRA_ESTIMATOR - Static variable in class com.dynatrace.hash4j.distinctcount.UltraLogLog
Optimal further generalized remaining area (FGRA) estimator.

P

PackedArray - Class in com.dynatrace.hash4j.util
A utility class for compactly storing fixed bit size components in a byte array.
PackedArray.IndexedLongValueProvider - Interface in com.dynatrace.hash4j.util
Gives access to indexed long values.
PackedArray.PackedArrayHandler - Interface in com.dynatrace.hash4j.util
A handler for a packed array with predefined element size.
PackedArray.PackedArrayReadIterator - Interface in com.dynatrace.hash4j.util
A read iterator to read the values of all components in sequential order.
PermutationGenerator - Class in com.dynatrace.hash4j.random
A permutation generator.
PermutationGenerator(int) - Constructor for class com.dynatrace.hash4j.random.PermutationGenerator
Constructor.
polymurHash2_0(long, long) - Static method in class com.dynatrace.hash4j.hashing.Hashing
Returns a Hasher64 implementing the 64-bit PolymurHash (version 2.0) algorithm using the given tweak and seed value.
polymurHash2_0(long, long, long) - Static method in class com.dynatrace.hash4j.hashing.Hashing
Returns a Hasher64 implementing the 64-bit PolymurHash (version 2.0) algorithm using the given tweak and seed values.
Preconditions - Class in com.dynatrace.hash4j.internal
Utility class for preconditions.
PseudoRandomGenerator - Interface in com.dynatrace.hash4j.random
A pseudo-random generator.
PseudoRandomGeneratorProvider - Interface in com.dynatrace.hash4j.random
A provider for pseudo-random generators.
put(T, HashFunnel<T>) - Method in interface com.dynatrace.hash4j.hashing.HashSink
Adds an object to the hash computation using the given funnel.
put(T, HashFunnel<T>) - Method in interface com.dynatrace.hash4j.hashing.HashStream128
 
put(T, HashFunnel<T>) - Method in interface com.dynatrace.hash4j.hashing.HashStream32
 
put(T, HashFunnel<T>) - Method in interface com.dynatrace.hash4j.hashing.HashStream64
 
put(T, HashSink) - Method in interface com.dynatrace.hash4j.hashing.HashFunnel
Puts the object's content to the given HashSink.
putBoolean(boolean) - Method in interface com.dynatrace.hash4j.hashing.HashSink
Adds a boolean value to the hash computation.
putBoolean(boolean) - Method in interface com.dynatrace.hash4j.hashing.HashStream128
 
putBoolean(boolean) - Method in interface com.dynatrace.hash4j.hashing.HashStream32
 
putBoolean(boolean) - Method in interface com.dynatrace.hash4j.hashing.HashStream64
 
putBooleanArray(boolean[]) - Method in interface com.dynatrace.hash4j.hashing.HashSink
Adds a boolean array to the hash computation.
putBooleanArray(boolean[]) - Method in interface com.dynatrace.hash4j.hashing.HashStream128
 
putBooleanArray(boolean[]) - Method in interface com.dynatrace.hash4j.hashing.HashStream32
 
putBooleanArray(boolean[]) - Method in interface com.dynatrace.hash4j.hashing.HashStream64
 
putBooleans(boolean[]) - Method in interface com.dynatrace.hash4j.hashing.HashSink
Adds all elements of a boolean array to the hash computation.
putBooleans(boolean[]) - Method in interface com.dynatrace.hash4j.hashing.HashStream128
 
putBooleans(boolean[]) - Method in interface com.dynatrace.hash4j.hashing.HashStream32
 
putBooleans(boolean[]) - Method in interface com.dynatrace.hash4j.hashing.HashStream64
 
putBooleans(boolean[], int, int) - Method in interface com.dynatrace.hash4j.hashing.HashSink
Adds len elements of the given boolean array to the hash computation.
putBooleans(boolean[], int, int) - Method in interface com.dynatrace.hash4j.hashing.HashStream128
 
putBooleans(boolean[], int, int) - Method in interface com.dynatrace.hash4j.hashing.HashStream32
 
putBooleans(boolean[], int, int) - Method in interface com.dynatrace.hash4j.hashing.HashStream64
 
putByte(byte) - Method in interface com.dynatrace.hash4j.hashing.HashSink
Adds a byte value to the hash computation.
putByte(byte) - Method in interface com.dynatrace.hash4j.hashing.HashStream128
 
putByte(byte) - Method in interface com.dynatrace.hash4j.hashing.HashStream32
 
putByte(byte) - Method in interface com.dynatrace.hash4j.hashing.HashStream64
 
putByteArray(byte[]) - Method in interface com.dynatrace.hash4j.hashing.HashSink
Adds a byte array to the hash computation.
putByteArray(byte[]) - Method in interface com.dynatrace.hash4j.hashing.HashStream128
 
putByteArray(byte[]) - Method in interface com.dynatrace.hash4j.hashing.HashStream32
 
putByteArray(byte[]) - Method in interface com.dynatrace.hash4j.hashing.HashStream64
 
putBytes(byte[]) - Method in interface com.dynatrace.hash4j.hashing.HashSink
Adds all elements of a byte array to the hash computation.
putBytes(byte[]) - Method in interface com.dynatrace.hash4j.hashing.HashStream128
 
putBytes(byte[]) - Method in interface com.dynatrace.hash4j.hashing.HashStream32
 
putBytes(byte[]) - Method in interface com.dynatrace.hash4j.hashing.HashStream64
 
putBytes(byte[], int, int) - Method in interface com.dynatrace.hash4j.hashing.HashSink
Adds len elements of the given byte array to the hash computation.
putBytes(byte[], int, int) - Method in interface com.dynatrace.hash4j.hashing.HashStream128
 
putBytes(byte[], int, int) - Method in interface com.dynatrace.hash4j.hashing.HashStream32
 
putBytes(byte[], int, int) - Method in interface com.dynatrace.hash4j.hashing.HashStream64
 
putBytes(T, long, long, ByteAccess<T>) - Method in interface com.dynatrace.hash4j.hashing.HashSink
Adds a sequence of bytes to the hash computation.
putBytes(T, long, long, ByteAccess<T>) - Method in interface com.dynatrace.hash4j.hashing.HashStream128
 
putBytes(T, long, long, ByteAccess<T>) - Method in interface com.dynatrace.hash4j.hashing.HashStream32
 
putBytes(T, long, long, ByteAccess<T>) - Method in interface com.dynatrace.hash4j.hashing.HashStream64
 
putChar(char) - Method in interface com.dynatrace.hash4j.hashing.HashSink
Adds a char value to the hash computation using little-endian byte order.
putChar(char) - Method in interface com.dynatrace.hash4j.hashing.HashStream128
 
putChar(char) - Method in interface com.dynatrace.hash4j.hashing.HashStream32
 
putChar(char) - Method in interface com.dynatrace.hash4j.hashing.HashStream64
 
putCharArray(char[]) - Method in interface com.dynatrace.hash4j.hashing.HashSink
Adds a char array to the hash computation.
putCharArray(char[]) - Method in interface com.dynatrace.hash4j.hashing.HashStream128
 
putCharArray(char[]) - Method in interface com.dynatrace.hash4j.hashing.HashStream32
 
putCharArray(char[]) - Method in interface com.dynatrace.hash4j.hashing.HashStream64
 
putChars(char[]) - Method in interface com.dynatrace.hash4j.hashing.HashSink
Adds all elements of a char array to the hash computation.
putChars(char[]) - Method in interface com.dynatrace.hash4j.hashing.HashStream128
 
putChars(char[]) - Method in interface com.dynatrace.hash4j.hashing.HashStream32
 
putChars(char[]) - Method in interface com.dynatrace.hash4j.hashing.HashStream64
 
putChars(char[], int, int) - Method in interface com.dynatrace.hash4j.hashing.HashSink
Adds len elements of the given char array to the hash computation.
putChars(char[], int, int) - Method in interface com.dynatrace.hash4j.hashing.HashStream128
 
putChars(char[], int, int) - Method in interface com.dynatrace.hash4j.hashing.HashStream32
 
putChars(char[], int, int) - Method in interface com.dynatrace.hash4j.hashing.HashStream64
 
putChars(CharSequence) - Method in interface com.dynatrace.hash4j.hashing.HashSink
Adds chars to the hash computation.
putChars(CharSequence) - Method in interface com.dynatrace.hash4j.hashing.HashStream128
 
putChars(CharSequence) - Method in interface com.dynatrace.hash4j.hashing.HashStream32
 
putChars(CharSequence) - Method in interface com.dynatrace.hash4j.hashing.HashStream64
 
putDouble(double) - Method in interface com.dynatrace.hash4j.hashing.HashSink
Adds a double value to the hash computation using little-endian byte order.
putDouble(double) - Method in interface com.dynatrace.hash4j.hashing.HashStream128
 
putDouble(double) - Method in interface com.dynatrace.hash4j.hashing.HashStream32
 
putDouble(double) - Method in interface com.dynatrace.hash4j.hashing.HashStream64
 
putDoubleArray(double[]) - Method in interface com.dynatrace.hash4j.hashing.HashSink
Adds a double array to the hash computation.
putDoubleArray(double[]) - Method in interface com.dynatrace.hash4j.hashing.HashStream128
 
putDoubleArray(double[]) - Method in interface com.dynatrace.hash4j.hashing.HashStream32
 
putDoubleArray(double[]) - Method in interface com.dynatrace.hash4j.hashing.HashStream64
 
putDoubles(double[]) - Method in interface com.dynatrace.hash4j.hashing.HashSink
Adds all elements of a double array to the hash computation.
putDoubles(double[]) - Method in interface com.dynatrace.hash4j.hashing.HashStream128
 
putDoubles(double[]) - Method in interface com.dynatrace.hash4j.hashing.HashStream32
 
putDoubles(double[]) - Method in interface com.dynatrace.hash4j.hashing.HashStream64
 
putDoubles(double[], int, int) - Method in interface com.dynatrace.hash4j.hashing.HashSink
Adds len elements of the given double array to the hash computation.
putDoubles(double[], int, int) - Method in interface com.dynatrace.hash4j.hashing.HashStream128
 
putDoubles(double[], int, int) - Method in interface com.dynatrace.hash4j.hashing.HashStream32
 
putDoubles(double[], int, int) - Method in interface com.dynatrace.hash4j.hashing.HashStream64
 
putFloat(float) - Method in interface com.dynatrace.hash4j.hashing.HashSink
Adds a float value to the hash computation using little-endian byte order.
putFloat(float) - Method in interface com.dynatrace.hash4j.hashing.HashStream128
 
putFloat(float) - Method in interface com.dynatrace.hash4j.hashing.HashStream32
 
putFloat(float) - Method in interface com.dynatrace.hash4j.hashing.HashStream64
 
putFloatArray(float[]) - Method in interface com.dynatrace.hash4j.hashing.HashSink
Adds a float array to the hash computation.
putFloatArray(float[]) - Method in interface com.dynatrace.hash4j.hashing.HashStream128
 
putFloatArray(float[]) - Method in interface com.dynatrace.hash4j.hashing.HashStream32
 
putFloatArray(float[]) - Method in interface com.dynatrace.hash4j.hashing.HashStream64
 
putFloats(float[]) - Method in interface com.dynatrace.hash4j.hashing.HashSink
Adds all elements of a float array to the hash computation.
putFloats(float[]) - Method in interface com.dynatrace.hash4j.hashing.HashStream128
 
putFloats(float[]) - Method in interface com.dynatrace.hash4j.hashing.HashStream32
 
putFloats(float[]) - Method in interface com.dynatrace.hash4j.hashing.HashStream64
 
putFloats(float[], int, int) - Method in interface com.dynatrace.hash4j.hashing.HashSink
Adds len elements of the given float array to the hash computation.
putFloats(float[], int, int) - Method in interface com.dynatrace.hash4j.hashing.HashStream128
 
putFloats(float[], int, int) - Method in interface com.dynatrace.hash4j.hashing.HashStream32
 
putFloats(float[], int, int) - Method in interface com.dynatrace.hash4j.hashing.HashStream64
 
putInt(int) - Method in interface com.dynatrace.hash4j.hashing.HashSink
Adds an int value to the hash computation using little-endian byte order.
putInt(int) - Method in interface com.dynatrace.hash4j.hashing.HashStream128
 
putInt(int) - Method in interface com.dynatrace.hash4j.hashing.HashStream32
 
putInt(int) - Method in interface com.dynatrace.hash4j.hashing.HashStream64
 
putIntArray(int[]) - Method in interface com.dynatrace.hash4j.hashing.HashSink
Adds an int array to the hash computation.
putIntArray(int[]) - Method in interface com.dynatrace.hash4j.hashing.HashStream128
 
putIntArray(int[]) - Method in interface com.dynatrace.hash4j.hashing.HashStream32
 
putIntArray(int[]) - Method in interface com.dynatrace.hash4j.hashing.HashStream64
 
putInts(int[]) - Method in interface com.dynatrace.hash4j.hashing.HashSink
Adds all elements of an int array to the hash computation.
putInts(int[]) - Method in interface com.dynatrace.hash4j.hashing.HashStream128
 
putInts(int[]) - Method in interface com.dynatrace.hash4j.hashing.HashStream32
 
putInts(int[]) - Method in interface com.dynatrace.hash4j.hashing.HashStream64
 
putInts(int[], int, int) - Method in interface com.dynatrace.hash4j.hashing.HashSink
Adds len elements of the given int array to the hash computation.
putInts(int[], int, int) - Method in interface com.dynatrace.hash4j.hashing.HashStream128
 
putInts(int[], int, int) - Method in interface com.dynatrace.hash4j.hashing.HashStream32
 
putInts(int[], int, int) - Method in interface com.dynatrace.hash4j.hashing.HashStream64
 
putLong(long) - Method in interface com.dynatrace.hash4j.hashing.HashSink
Adds along long value to the hash computation using little-endian byte order.
putLong(long) - Method in interface com.dynatrace.hash4j.hashing.HashStream128
 
putLong(long) - Method in interface com.dynatrace.hash4j.hashing.HashStream32
 
putLong(long) - Method in interface com.dynatrace.hash4j.hashing.HashStream64
 
putLongArray(long[]) - Method in interface com.dynatrace.hash4j.hashing.HashSink
Adds a long array to the hash computation.
putLongArray(long[]) - Method in interface com.dynatrace.hash4j.hashing.HashStream128
 
putLongArray(long[]) - Method in interface com.dynatrace.hash4j.hashing.HashStream32
 
putLongArray(long[]) - Method in interface com.dynatrace.hash4j.hashing.HashStream64
 
putLongs(long[]) - Method in interface com.dynatrace.hash4j.hashing.HashSink
Adds all elements of a long array to the hash computation.
putLongs(long[]) - Method in interface com.dynatrace.hash4j.hashing.HashStream128
 
putLongs(long[]) - Method in interface com.dynatrace.hash4j.hashing.HashStream32
 
putLongs(long[]) - Method in interface com.dynatrace.hash4j.hashing.HashStream64
 
putLongs(long[], int, int) - Method in interface com.dynatrace.hash4j.hashing.HashSink
Adds len elements of the given long array to the hash computation.
putLongs(long[], int, int) - Method in interface com.dynatrace.hash4j.hashing.HashStream128
 
putLongs(long[], int, int) - Method in interface com.dynatrace.hash4j.hashing.HashStream32
 
putLongs(long[], int, int) - Method in interface com.dynatrace.hash4j.hashing.HashStream64
 
putNullable(T, HashFunnel<T>) - Method in interface com.dynatrace.hash4j.hashing.HashSink
Adds a nullable object to the hash computation using the given funnel.
putNullable(T, HashFunnel<T>) - Method in interface com.dynatrace.hash4j.hashing.HashStream128
 
putNullable(T, HashFunnel<T>) - Method in interface com.dynatrace.hash4j.hashing.HashStream32
 
putNullable(T, HashFunnel<T>) - Method in interface com.dynatrace.hash4j.hashing.HashStream64
 
putOptional(Optional<T>, HashFunnel<? super T>) - Method in interface com.dynatrace.hash4j.hashing.HashSink
Adds an optional object to the hash computation using the given funnel.
putOptional(Optional<T>, HashFunnel<? super T>) - Method in interface com.dynatrace.hash4j.hashing.HashStream128
 
putOptional(Optional<T>, HashFunnel<? super T>) - Method in interface com.dynatrace.hash4j.hashing.HashStream32
 
putOptional(Optional<T>, HashFunnel<? super T>) - Method in interface com.dynatrace.hash4j.hashing.HashStream64
 
putOptionalDouble(OptionalDouble) - Method in interface com.dynatrace.hash4j.hashing.HashSink
Adds an OptionalDouble to the hash computation.
putOptionalDouble(OptionalDouble) - Method in interface com.dynatrace.hash4j.hashing.HashStream128
 
putOptionalDouble(OptionalDouble) - Method in interface com.dynatrace.hash4j.hashing.HashStream32
 
putOptionalDouble(OptionalDouble) - Method in interface com.dynatrace.hash4j.hashing.HashStream64
 
putOptionalInt(OptionalInt) - Method in interface com.dynatrace.hash4j.hashing.HashSink
Adds an OptionalInt to the hash computation.
putOptionalInt(OptionalInt) - Method in interface com.dynatrace.hash4j.hashing.HashStream128
 
putOptionalInt(OptionalInt) - Method in interface com.dynatrace.hash4j.hashing.HashStream32
 
putOptionalInt(OptionalInt) - Method in interface com.dynatrace.hash4j.hashing.HashStream64
 
putOptionalLong(OptionalLong) - Method in interface com.dynatrace.hash4j.hashing.HashSink
Adds an OptionalLong to the hash computation.
putOptionalLong(OptionalLong) - Method in interface com.dynatrace.hash4j.hashing.HashStream128
 
putOptionalLong(OptionalLong) - Method in interface com.dynatrace.hash4j.hashing.HashStream32
 
putOptionalLong(OptionalLong) - Method in interface com.dynatrace.hash4j.hashing.HashStream64
 
putOrderedIterable(Iterable<T>, HashFunnel<? super T>) - Method in interface com.dynatrace.hash4j.hashing.HashSink
Adds an ordered Iterable (e.g.
putOrderedIterable(Iterable<T>, HashFunnel<? super T>) - Method in interface com.dynatrace.hash4j.hashing.HashStream32
 
putOrderedIterable(Iterable<T>, HashFunnel<? super T>) - Method in interface com.dynatrace.hash4j.hashing.HashStream128
 
putOrderedIterable(Iterable<T>, HashFunnel<? super T>) - Method in interface com.dynatrace.hash4j.hashing.HashStream64
 
putShort(short) - Method in interface com.dynatrace.hash4j.hashing.HashSink
Adds a short value to the hash computation using little-endian byte order.
putShort(short) - Method in interface com.dynatrace.hash4j.hashing.HashStream128
 
putShort(short) - Method in interface com.dynatrace.hash4j.hashing.HashStream32
 
putShort(short) - Method in interface com.dynatrace.hash4j.hashing.HashStream64
 
putShortArray(short[]) - Method in interface com.dynatrace.hash4j.hashing.HashSink
Adds a short array to the hash computation.
putShortArray(short[]) - Method in interface com.dynatrace.hash4j.hashing.HashStream128
 
putShortArray(short[]) - Method in interface com.dynatrace.hash4j.hashing.HashStream32
 
putShortArray(short[]) - Method in interface com.dynatrace.hash4j.hashing.HashStream64
 
putShorts(short[]) - Method in interface com.dynatrace.hash4j.hashing.HashSink
Adds all elements of a short array to the hash computation.
putShorts(short[]) - Method in interface com.dynatrace.hash4j.hashing.HashStream128
 
putShorts(short[]) - Method in interface com.dynatrace.hash4j.hashing.HashStream32
 
putShorts(short[]) - Method in interface com.dynatrace.hash4j.hashing.HashStream64
 
putShorts(short[], int, int) - Method in interface com.dynatrace.hash4j.hashing.HashSink
Adds len elements of the given short array to the hash computation.
putShorts(short[], int, int) - Method in interface com.dynatrace.hash4j.hashing.HashStream128
 
putShorts(short[], int, int) - Method in interface com.dynatrace.hash4j.hashing.HashStream32
 
putShorts(short[], int, int) - Method in interface com.dynatrace.hash4j.hashing.HashStream64
 
putString(String) - Method in interface com.dynatrace.hash4j.hashing.HashSink
Adds a string to the hash computation.
putString(String) - Method in interface com.dynatrace.hash4j.hashing.HashStream128
 
putString(String) - Method in interface com.dynatrace.hash4j.hashing.HashStream32
 
putString(String) - Method in interface com.dynatrace.hash4j.hashing.HashStream64
 
putUnorderedIterable(Iterable<T>, HashFunnel<? super T>, Hasher64) - Method in interface com.dynatrace.hash4j.hashing.HashSink
Adds an unordered Iterable (e.g.
putUnorderedIterable(Iterable<T>, HashFunnel<? super T>, Hasher64) - Method in interface com.dynatrace.hash4j.hashing.HashStream128
 
putUnorderedIterable(Iterable<T>, HashFunnel<? super T>, Hasher64) - Method in interface com.dynatrace.hash4j.hashing.HashStream32
 
putUnorderedIterable(Iterable<T>, HashFunnel<? super T>, Hasher64) - Method in interface com.dynatrace.hash4j.hashing.HashStream64
 
putUnorderedIterable(Iterable<T>, HashFunnel<? super T>, HashStream64) - Method in interface com.dynatrace.hash4j.hashing.HashSink
Adds an unordered Iterable (e.g.
putUnorderedIterable(Iterable<T>, HashFunnel<? super T>, HashStream64) - Method in interface com.dynatrace.hash4j.hashing.HashStream32
 
putUnorderedIterable(Iterable<T>, HashFunnel<? super T>, HashStream64) - Method in interface com.dynatrace.hash4j.hashing.HashStream64
 
putUnorderedIterable(Iterable<T>, ToLongFunction<? super T>) - Method in interface com.dynatrace.hash4j.hashing.HashSink
Adds an unordered Iterable (e.g.
putUnorderedIterable(Iterable<T>, ToLongFunction<? super T>) - Method in interface com.dynatrace.hash4j.hashing.HashStream128
 
putUnorderedIterable(Iterable<T>, ToLongFunction<? super T>) - Method in interface com.dynatrace.hash4j.hashing.HashStream32
 
putUnorderedIterable(Iterable<T>, ToLongFunction<? super T>) - Method in interface com.dynatrace.hash4j.hashing.HashStream64
 
putUUID(UUID) - Method in interface com.dynatrace.hash4j.hashing.HashSink
Adds a UUID to the hash computation.
putUUID(UUID) - Method in interface com.dynatrace.hash4j.hashing.HashStream128
 
putUUID(UUID) - Method in interface com.dynatrace.hash4j.hashing.HashStream32
 
putUUID(UUID) - Method in interface com.dynatrace.hash4j.hashing.HashStream64
 

R

rapidhash3() - Static method in class com.dynatrace.hash4j.hashing.Hashing
Returns a Hasher64 implementing the 64-bit RapidHash v3 algorithm using a seed value of zero and the default secret.
rapidhash3(long) - Static method in class com.dynatrace.hash4j.hashing.Hashing
Returns a Hasher64 implementing the 64-bit RapidHash v3 algorithm using the given seed value and the default secret.
readIterator(byte[], int) - Method in interface com.dynatrace.hash4j.util.PackedArray.PackedArrayHandler
Returns a PackedArray.PackedArrayReadIterator to read the values of all components in sequential order.
removeBucket(int) - Method in interface com.dynatrace.hash4j.consistent.ConsistentBucketSetHasher
Removes the bucket with given ID.
reset() - Method in class com.dynatrace.hash4j.distinctcount.HyperLogLog
Resets this sketch to its initial state representing an empty set.
reset() - Method in class com.dynatrace.hash4j.distinctcount.MartingaleEstimator
Resets the martingale estimator to its initial state.
reset() - Method in class com.dynatrace.hash4j.distinctcount.UltraLogLog
Resets this sketch to its initial state representing an empty set.
reset() - Method in interface com.dynatrace.hash4j.hashing.HashStream128
 
reset() - Method in interface com.dynatrace.hash4j.hashing.HashStream32
Resets the hash stream.
reset() - Method in interface com.dynatrace.hash4j.hashing.HashStream64
 
reset() - Method in class com.dynatrace.hash4j.random.PermutationGenerator
Resets this permutation generator.
reset(long) - Method in interface com.dynatrace.hash4j.random.PseudoRandomGenerator
Resets the pseudo-random generator using the given 64-bit seed value.
resetAndHashTo128Bits(T, HashFunnel<T>) - Method in interface com.dynatrace.hash4j.hashing.HashStream128
Resets this hash stream and returns a 128-bit hash value of the given object using the given funnel.
resetAndHashToInt(T, HashFunnel<T>) - Method in interface com.dynatrace.hash4j.hashing.HashStream32
Resets this hash stream and returns a 32-bit hash value of the given object using the given funnel.
resetAndHashToLong(T, HashFunnel<T>) - Method in interface com.dynatrace.hash4j.hashing.HashStream64
Resets this hash stream and returns a 64-bit hash value of the given object using the given funnel.

S

set(byte[], int, long) - Method in interface com.dynatrace.hash4j.util.PackedArray.PackedArrayHandler
Sets a component in a packed array to the given value and returns the previous value.
set(double, double) - Method in class com.dynatrace.hash4j.distinctcount.MartingaleEstimator
Sets the martingale estimator to a given distinct count estimate and a given state change probability.
setChar(byte[], int, char) - Static method in class com.dynatrace.hash4j.internal.ByteArrayUtil
Writes a char to a byte array with given offset.
setInt(byte[], int, int) - Static method in class com.dynatrace.hash4j.internal.ByteArrayUtil
Writes an int value to a byte array with given offset.
setLong(byte[], int, long) - Static method in class com.dynatrace.hash4j.internal.ByteArrayUtil
Writes a long value to a byte array with given offset.
setShort(byte[], int, short) - Static method in class com.dynatrace.hash4j.internal.ByteArrayUtil
Writes a short value to a byte array with given offset.
setState(byte[]) - Method in interface com.dynatrace.hash4j.consistent.ConsistentBucketSetHasher
Sets the internal state of a ConsistentBucketSetHasher to the state held by the given byte array which was obtained from ConsistentBucketSetHasher.getState().
setState(byte[]) - Method in interface com.dynatrace.hash4j.hashing.HashStream128
 
setState(byte[]) - Method in interface com.dynatrace.hash4j.hashing.HashStream32
Sets the state of the hash stream.
setState(byte[]) - Method in interface com.dynatrace.hash4j.hashing.HashStream64
 
simHash(int) - Static method in interface com.dynatrace.hash4j.similarity.SimilarityHashing
Returns a SimilarityHashPolicy for SimHash as introduced in Moses S.
simHash(int, SimHashVersion) - Static method in interface com.dynatrace.hash4j.similarity.SimilarityHashing
Returns a SimilarityHashPolicy for SimHash as introduced in Moses S.
SimHashVersion - Enum Class in com.dynatrace.hash4j.similarity
Versions of FastSimHash implementations.
SimilarityHasher - Interface in com.dynatrace.hash4j.similarity
A hasher that is able to compute hash signatures which can be used for similarity estimations.
SimilarityHashing - Interface in com.dynatrace.hash4j.similarity
Various implementations of similarity hash algorithms.
SimilarityHashPolicy - Interface in com.dynatrace.hash4j.similarity
A policy for similarity hashing.
splitMix64_V1() - Static method in interface com.dynatrace.hash4j.random.PseudoRandomGeneratorProvider
Returns a PseudoRandomGeneratorProvider based on the SplitMix64 algorithm.
stateChanged(double) - Method in class com.dynatrace.hash4j.distinctcount.MartingaleEstimator
 
stateChanged(double) - Method in interface com.dynatrace.hash4j.distinctcount.StateChangeObserver
This method is called whenever the internal state of the approximate distinct counter has changed.
StateChangeObserver - Interface in com.dynatrace.hash4j.distinctcount
An observer of state changes of distinct counters such as HyperLogLog or UltraLogLog.
superMinHash(int, int) - Static method in interface com.dynatrace.hash4j.similarity.SimilarityHashing
superMinHash(int, int, SuperMinHashVersion) - Static method in interface com.dynatrace.hash4j.similarity.SimilarityHashing
SuperMinHashVersion - Enum Class in com.dynatrace.hash4j.similarity
Versions of SuperMinHash implementations.

T

toByteArray() - Method in class com.dynatrace.hash4j.hashing.HashValue128
Returns this hash value as byte array.
toByteArray(int) - Static method in class com.dynatrace.hash4j.hashing.HashValues
Returns the given hash value as byte array.
toByteArray(long) - Static method in class com.dynatrace.hash4j.hashing.HashValues
Returns the given hash value as byte array.
toByteArray(HashValue128) - Static method in class com.dynatrace.hash4j.hashing.HashValues
Returns the given hash value as byte array.
toHexString(int) - Static method in class com.dynatrace.hash4j.hashing.HashValues
Returns the hex-code representation of the hash value interpreted as numeric value.
toHexString(long) - Static method in class com.dynatrace.hash4j.hashing.HashValues
Returns the hex-code representation of the hash value interpreted as numeric value.
toHexString(HashValue128) - Static method in class com.dynatrace.hash4j.hashing.HashValues
Returns the hex-code representation of the hash value interpreted as numeric value.
toString() - Method in class com.dynatrace.hash4j.distinctcount.MartingaleEstimator
 
toString() - Method in class com.dynatrace.hash4j.hashing.HashValue128
 

U

UltraLogLog - Class in com.dynatrace.hash4j.distinctcount
A sketch for approximate distinct counting that is more space efficient than HyperLogLog as described in Otmar Ertl, UltraLogLog: A Practical and More Space-Efficient Alternative to HyperLogLog for Approximate Distinct Counting, 2023
UltraLogLog.Estimator - Interface in com.dynatrace.hash4j.distinctcount
A distinct count estimator for UltraLogLog.
uniformInt(int) - Method in interface com.dynatrace.hash4j.random.PseudoRandomGenerator
Returns a random uniformly distributed 32-bit {code int} value greater than or equal to 0 and less than the given upper bound.
unsignedMultiplyHigh(long, long) - Static method in class com.dynatrace.hash4j.internal.UnsignedMultiplyUtil
Returns the most significant 64 bits of the unsigned 128-bit product of two unsigned 64-bit factors as a long.
UnsignedMultiplyUtil - Class in com.dynatrace.hash4j.internal
Utility class for the unsigned multiplication of long values.
update(byte[], int, long, LongBinaryOperator) - Method in interface com.dynatrace.hash4j.util.PackedArray.PackedArrayHandler
Updates a component in a packed array using the given value and a binary operator that computes the update value from the previous value and the given value.

V

V1 - Enum constant in enum class com.dynatrace.hash4j.similarity.FastSimHashVersion
Version 1.
V1 - Enum constant in enum class com.dynatrace.hash4j.similarity.MinHashVersion
Version 1.
V1 - Enum constant in enum class com.dynatrace.hash4j.similarity.SimHashVersion
Version 1.
V1 - Enum constant in enum class com.dynatrace.hash4j.similarity.SuperMinHashVersion
Version 1.
valueOf(String) - Static method in enum class com.dynatrace.hash4j.similarity.FastSimHashVersion
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.dynatrace.hash4j.similarity.MinHashVersion
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.dynatrace.hash4j.similarity.SimHashVersion
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.dynatrace.hash4j.similarity.SuperMinHashVersion
Returns the enum constant of this class with the specified name.
values() - Static method in enum class com.dynatrace.hash4j.similarity.FastSimHashVersion
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.dynatrace.hash4j.similarity.MinHashVersion
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.dynatrace.hash4j.similarity.SimHashVersion
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.dynatrace.hash4j.similarity.SuperMinHashVersion
Returns an array containing the constants of this enum class, in the order they are declared.

W

wrap(byte[]) - Static method in class com.dynatrace.hash4j.distinctcount.HyperLogLog
Returns a HyperLogLog sketch whose state is kept in the given byte array.
wrap(byte[]) - Static method in class com.dynatrace.hash4j.distinctcount.UltraLogLog
Returns a UltraLogLog sketch whose state is kept in the given byte array.
wyhashFinal3() - Static method in class com.dynatrace.hash4j.hashing.Hashing
Returns a Hasher64 implementing the 64-bit Wyhash (version final 3) algorithm using a seed value of zero and the default secret.
wyhashFinal3(long) - Static method in class com.dynatrace.hash4j.hashing.Hashing
Returns a Hasher64 implementing the 64-bit Wyhash (version final 3) algorithm using the given seed value and the default secret.
wyhashFinal3(long, long) - Static method in class com.dynatrace.hash4j.hashing.Hashing
Returns a Hasher64 implementing the 64-bit Wyhash (version final 3) algorithm using the given seed values.
wyhashFinal4() - Static method in class com.dynatrace.hash4j.hashing.Hashing
Returns a Hasher64 implementing the 64-bit Wyhash (version final 4) algorithm using a seed value of zero and the default secret.
wyhashFinal4(long) - Static method in class com.dynatrace.hash4j.hashing.Hashing
Returns a Hasher64 implementing the 64-bit Wyhash (version final 4) algorithm using the given seed value and the default secret.
wyhashFinal4(long, long) - Static method in class com.dynatrace.hash4j.hashing.Hashing
Returns a Hasher64 implementing the 64-bit Wyhash (version final 4) algorithm using the given seed values.

X

xxh3_128() - Static method in class com.dynatrace.hash4j.hashing.Hashing
Returns a Hasher128 implementing the 128-bit XXH3 algorithm.
xxh3_128(long) - Static method in class com.dynatrace.hash4j.hashing.Hashing
Returns a Hasher128 implementing the 128-bit XXH3 algorithm using the given seed value.
xxh3_64() - Static method in class com.dynatrace.hash4j.hashing.Hashing
Returns a Hasher64 implementing the 64-bit XXH3 algorithm.
xxh3_64(long) - Static method in class com.dynatrace.hash4j.hashing.Hashing
Returns a Hasher64 implementing the 64-bit XXH3 algorithm using the given seed value.
A B C D E F G H I J K M N O P R S T U V W X 
All Classes and Interfaces|All Packages