I'm trying to play around with https://github.com/google/zetasketch The java instructions say to start with
HyperLogLogPlusPlus<String> hll = new HyperLogLogPlusPlus.Builder().buildForStrings();
I've added the dependancy {:paths ["src" "resources"]
:deps {org.clojure/clojure {:mvn/version "1.10.1"}
com.google.zetasketch/zetasketch {:mvn/version "0.1.0"}}...}and imported (:import [com.google.zetasketch HyperLogLogPlusPlus])
but
(HyperLogLogPlusPlus.) gives me no matching ctor, and I don't seem to be able to import Builder, to be able to execute (HyperLogLogPlusPlus. Builder/buildForStrings) am I missing something or is the package not as documented?Nested classes use $ as a separator
So (:import [com.google.zetasketch HyperLogPlusPlus$Builder])
And then use the $ in the code too
When you invoke the static method
Ah, Thanks Alex.