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