clearspring/stream-lib — pull request #12 by jasonkolb (2012-07-14 16:25:02+00:00)
Title: Made HyperLogLog serializable, added population count

I'm using this in my app, and as part of that I needed to be able to serialize HyperLogLog to a cache. So I made all of the necessary classes implement Serializable.

Also in this commit I added a population count to the HyperLogLog class so that the number of items submitted can be tracked in the class itself. This is very helpful to my application as well.