Skip to content

Examples

Dawid Weiss edited this page May 6, 2015 · 5 revisions

Source code for the examples

Check out the documented, up-to-date API examples in the source code:

https://github.com/carrotsearch/hppc/tree/master/hppc-examples/src/test/java/com/carrotsearch/hppc/examples

Iterating over container content

There are a number of ways to iterate over HPPC containers: using a cursor-iterator, with closure-like procedures and by accessing the internal storage buffers. The latter will most likely be the fastest, at the price of code elegance and dependency on HPPC internal implementation details.

Clone this wiki locally