Interface HashFunction

All Known Implementing Classes:
FnvHashFunction, JenkinsHashFunction

public interface HashFunction
Forked from com.linkedin.databus.core.util @ r293057
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    hash(byte[] key, int numBuckets)
     
    long
    hash(long key, int numBuckets)
     
    long
     
    long
    hash(ByteBuffer buf, int off, int len)
     
  • Method Details

    • hash

      long hash(ByteBuffer buf)
    • hash

      long hash(ByteBuffer buf, int off, int len)
    • hash

      long hash(byte[] key, int numBuckets)
    • hash

      long hash(long key, int numBuckets)