Code example for HashFunction

Methods: hashLong

0
   * If you need to keep shorter hashes around (e.g., for storage), make sure to drop bits from the 
   * most significant side, as the hyperloglog implementation uses bits from least significant 
   * to most significant. 
   */ 
  public static long computeHash(long value) {
    return HASH.hashLong(value).asLong();
  } 
} 
Connect your IDE to all the code out there  Get Codota for Java