import java.util.Iterator;
public class LongIntHppcWrappers {
public static LongIntFindingIterator cursorToLongIntIterator(final Iterator<LongIntCursor> cursor) {
return new LongIntFindingIterator() {
@Override
protected boolean findNext() {
if (!cursor.hasNext()) return false;
LongIntCursor cur = cursor.next();
myNextLeft = cur.key;