Documentation of 'net.jpountz.xxhash.XXHash32' Java class
XXHash32
net.jpountz.xxhash

Class XXHash32



  • public abstract class XXHash32
    extends java.lang.Object
    A 32-bits hash.

    Instances of this class are thread-safe.

    • Constructor Summary

      Constructors 
      Constructor and Description
      XXHash32() 
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method and Description
      abstract int hash(byte[] buf, int off, int len, int seed)
      Compute the 32-bits hash of buf[off:off+len] using seed seed.
      int hash(java.nio.ByteBuffer buf, int seed)
      Compute the hash of the given ByteBuffer.
      abstract int hash(java.nio.ByteBuffer buf, int off, int len, int seed)
      Compute the hash of the given slice of the ByteBuffer.
      java.lang.String toString() 
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • XXHash32

        public XXHash32()
    • Method Detail

      • hash

        public abstract int hash(byte[] buf,
                                 int off,
                                 int len,
                                 int seed)
        Compute the 32-bits hash of buf[off:off+len] using seed seed.
      • hash

        public abstract int hash(java.nio.ByteBuffer buf,
                                 int off,
                                 int len,
                                 int seed)
        Compute the hash of the given slice of the ByteBuffer. position and limit are not modified.
      • hash

        public final int hash(java.nio.ByteBuffer buf,
                              int seed)
        Compute the hash of the given ByteBuffer. The position is moved in order to reflect bytes which have been read.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.