Package htsjdk.samtools.util
Class Murmur3
java.lang.Object
htsjdk.samtools.util.Murmur3
- All Implemented Interfaces:
Serializable
Provides an implementation of the Murmur3_32 hash algorithm that has desirable properties in terms of randomness
and uniformity of the distribution of output values that make it a useful hashing algorithm for downsampling.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
hashUnencodedChars
(CharSequence input) Hashes a character stream to an int using Murmur3.
-
Constructor Details
-
Murmur3
public Murmur3(int seed) Constructs a Murmur3 hash with the given seed.
-
-
Method Details
-
hashUnencodedChars
Hashes a character stream to an int using Murmur3.
-