Class HyperLogLog


  • public class HyperLogLog
    extends java.lang.Object
    A HyperLogLog implementation.
    • Constructor Summary

      Constructors 
      Constructor Description
      HyperLogLog​(int m, int maxSmallSetSize)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void add​(long hash)  
      long estimate()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • HyperLogLog

        public HyperLogLog​(int m,
                           int maxSmallSetSize)
    • Method Detail

      • add

        public void add​(long hash)
      • estimate

        public long estimate()