Class XXHash32

    • Constructor Summary

      Constructors 
      Constructor Description
      XXHash32()
      Creates an XXHash32 instance with a seed of 0.
      XXHash32​(int seed)
      Creates an XXHash32 instance.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      long getValue()  
      void reset()  
      void update​(byte[] b, int off, int len)  
      void update​(int b)  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.zip.Checksum

        update, update
    • Constructor Detail

      • XXHash32

        public XXHash32()
        Creates an XXHash32 instance with a seed of 0.
      • XXHash32

        public XXHash32​(int seed)
        Creates an XXHash32 instance.
        Parameters:
        seed - the seed to use
    • Method Detail

      • reset

        public void reset()
        Specified by:
        reset in interface java.util.zip.Checksum
      • update

        public void update​(int b)
        Specified by:
        update in interface java.util.zip.Checksum
      • update

        public void update​(byte[] b,
                           int off,
                           int len)
        Specified by:
        update in interface java.util.zip.Checksum
      • getValue

        public long getValue()
        Specified by:
        getValue in interface java.util.zip.Checksum