This example code shows how to use the Java library in the results iterator repo with Jitpack.
The benefit of using it as a library is that you don't need to include this code in each project.
To see how it is used look at the tests in the BasicResultsIteratorTest class.