Code example for CursorWindow

Methods: getNumRows

0
    private int position;
    private final int count;
 
    public FastCursor(CursorWindow window) {
        this.window = window;
        count = window.getNumRows();
    } 
 
    @Override 
    public int getCount() { 
        return window.getNumRows();
    } 
 
    @Override 
    public int getPosition() { 
        return position;
    } 
 
    @Override 
    public boolean move(int offset) {
        return moveToPosition(position + offset);