Package htsjdk.samtools.util
Class Murmur3
- java.lang.Object
-
- htsjdk.samtools.util.Murmur3
-
- All Implemented Interfaces:
Serializable
public final class Murmur3 extends Object implements 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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Murmur3(int seed)
Constructs a Murmur3 hash with the given seed.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
hashUnencodedChars(CharSequence input)
Hashes a character stream to an int using Murmur3.
-
-
-
Method Detail
-
hashUnencodedChars
public int hashUnencodedChars(CharSequence input)
Hashes a character stream to an int using Murmur3.
-
-