public class IteratorHelper
extends java.lang.Object
To iterate over an Iterator from C++ requires two calls per entry: hasNext()
and next(). This helper reduces it to one call and one field get per entry.
It does not use a generic argument, since in C++, the types will be erased,
anyway. This is *not* a Iterator.