@Override public long getLong(int columnIndex) { return window.getLong(position, columnIndex); }
@Override public long getLong(int columnIndex) { return window.getLong(position, columnIndex); }
@Override public long getLong(int columnIndex) { return window.getLong(position, columnIndex); }
@Override public long getLong(int columnIndex) { return window.getLong(position, columnIndex); }
/** * Retrieves the long value for a given column at the provided position. * This will throw an {@link IllegalArgumentException} if the column does not exist, the * position is invalid, or the data holder has been closed. * * @param column The column to retrieve. * @param row The row to retrieve the data from. * @param windowIndex Index of the cursor window to extract the data from. * @return The long value in that column. */ public long getLong(String column, int row, int windowIndex) { return windows[windowIndex].getLong(row, columnIndices.get(column)); }
/** * Retrieves the boolean value for a given column at the provided position. * This will throw an {@link IllegalArgumentException} if the column does not exist, the * position is invalid, or the data holder has been closed. * * @param column The column to retrieve. * @param row The row to retrieve the data from. * @param windowIndex Index of the cursor window to extract the data from. * @return The boolean value in that column. */ public boolean getBoolean(String column, int row, int windowIndex) { return windows[windowIndex].getLong(row, columnIndices.get(column)) == 1; }
Long cur = origin.getLong(i, j); destination.putLong(cur, i, j);
Long cur = origin.getLong(i, j); destination.putLong(cur, i, j);