Hi Nina,
I think it's this:
>
>
>
>
> *ICountFingerprint fp;int numBins = fp.numOfPopulatedbins();for (int i =
> 0; i < numBins; i++) { int hash = fp.getHash(i); int freq =
> fp.getCount(i);}*
https://gist.github.com/johnmay/1cc17ff6280f308e015b
On a side note this will likely change in the near future. I've ben
drafting/prototyping a new fingerprint API (nfp akin to nio in java) that
will hide some of this munging and make the abstractions better and more
efficient. You can see some early draft of my thoughts but nothing formal
yet: https://github.com/cdk/cdk/wiki/New-Fingerprint
John
Regards,
John W May
john.wilkinson...@gmail.com
On 3 February 2016 at 06:39, Nina Jeliazkova <jeliazkova.n...@gmail.com>
wrote:
> Hello All,
>
> I am wondering what is the intended usage of the ICountFingerprint
> interface, and more specifically, how does one iterates over the available
> hashes using this interface.
>
> The obvious way of using the size() and for loop is impractical in cases
> as CircularFingerprint, where the size is declared = 4294967296l . On the
> other hand the CircularFingerprint internal structure has all the
> information available in a more convenient way, but it is not accessible
> outside of the class.
>
> Any ideas? I am willing to provide a patch exposing the info in more
> convenient (sparse) way than ICountFingerprint, but not sure how it fits
> the CDK interfaces.
>
> Best regards,
> Nina
>
>
> ------------------------------------------------------------------------------
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
> _______________________________________________
> Cdk-user mailing list
> Cdk-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/cdk-user
>
>
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
Cdk-user mailing list
Cdk-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cdk-user