Class MurmurHash

java.lang.Object
org.apache.commons.codec.digest.MurmurHash

final class MurmurHash extends Object
Commons implementation methods for MurmurHash* classes in this package.
  • Constructor Details

    • MurmurHash

      MurmurHash()
  • Method Details

    • getLittleEndianInt

      static int getLittleEndianInt(byte[] data, int index)
      Gets the little-endian int from 4 bytes starting at the specified index.
      Parameters:
      data - The data
      index - The index
      Returns:
      The little-endian int
    • getLittleEndianLong

      static long getLittleEndianLong(byte[] data, int index)
      Gets the little-endian long from 8 bytes starting at the specified index.
      Parameters:
      data - The data
      index - The index
      Returns:
      The little-endian long