Fork me on GitHub

I'm trying to play around with 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"} {:mvn/version "0.1.0"}}...}and imported (:import [ 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?

Alex Miller (Clojure team)14:06:15

Nested classes use $ as a separator

Alex Miller (Clojure team)14:06:11

So (:import [ HyperLogPlusPlus$Builder])

Alex Miller (Clojure team)14:06:43

And then use the $ in the code too

Alex Miller (Clojure team)14:06:55

When you invoke the static method


Ah, Thanks Alex.