public static int[] allInts(Cursor cursor, boolean close) {
        int[] i = EMPTY_INT_ARRAY;
        if (cursor.moveToFirst()) {
            i = new int[cursor.getCount()];
            do {
                i[cursor.getPosition()] = cursor.getInt(0);
            } while (cursor.moveToNext());
        }
        close(cursor, close);
        return i;
    }
public static int[] allInts(Cursor cursor, boolean close) {
        int[] i = EMPTY_INT_ARRAY;
        if (cursor.moveToFirst()) {
            i = new int[cursor.getCount()];
            do {
                i[cursor.getPosition()] = cursor.getInt(0);
            } while (cursor.moveToNext());
        }
        close(cursor, close);
        return i;
    }
public static int [ ] allInts ( Cursor cursor , boolean close ) { int [ ] i = EMPTY_INT_ARRAY ; if ( cursor . moveToFirst ( ) ) { i = new int [ cursor . getCount ( ) ] ; do { i [ cursor . getPosition ( ) ] = cursor . getInt ( 0 ) ; } while ( cursor . moveToNext ( ) ) ; } close ( cursor , close ) ; return i ; }
Get all int values in the first column.

@param close true to close the cursor or false to leave it open
@since 2.5.0
Get all int values in the first column .