/** * @param columnName title of the column to reference */ public int getInt(int row, String columnName) { return getInt(row, getColumnIndex(columnName)); }
/** * @param columnName title of the column to search */ public Iterator<TableRow> findRowIterator(String value, String columnName) { return findRowIterator(value, getColumnIndex(columnName)); }
/** * @param columnName title of the column to search */ public TableRow matchRow(String regexp, String columnName) { return matchRow(regexp, getColumnIndex(columnName)); }
/** * @param columnName title of the column to search */ public TableRow findRow(String value, String columnName) { return findRow(value, getColumnIndex(columnName)); }
/** * @param columnName title of the column to search */ public Iterator<TableRow> matchRowIterator(String value, String columnName) { return matchRowIterator(value, getColumnIndex(columnName)); }
/** * @webref table:method * @brief Removes a column from a table * @param columnName the title of the column to be removed * @see Table#addColumn() */ public void removeColumn(String columnName) { removeColumn(getColumnIndex(columnName)); }
/** * @param columnName title of the column to search */ public Iterable<TableRow> findRows(final String value, final String columnName) { return findRows(value, getColumnIndex(columnName)); }
/** * Return a list of rows that match the regex passed in. If there are no * matches, a zero length array will be returned (not a null array). * @param what the String to match * @param columnName title of the column to search */ public int[] matchRowIndices(String what, String columnName) { return matchRowIndices(what, getColumnIndex(columnName)); }
/** * @param columnName title of the column to search */ public Iterable<TableRow> matchRows(String regexp, String columnName) { return matchRows(regexp, getColumnIndex(columnName)); }
/** * @param columnName title of the column to process */ public void removeTokens(String tokens, String columnName) { removeTokens(tokens, getColumnIndex(columnName)); }
/** * @param columnName title of the target column */ public void setFloat(int row, String columnName, float value) { setFloat(row, getColumnIndex(columnName), value); }
/** * Return a list of rows that contain the String passed in. If there are no * matches, a zero length array will be returned (not a null array). * @param value the String to match * @param columnName title of the column to search */ public int[] findRowIndices(String value, String columnName) { return findRowIndices(value, getColumnIndex(columnName)); }
/** * Run String.replaceAll() on all entries in a column. * Only works with columns that are already String values. * @param regex the String to match * @param columnName title of the column to search */ public void replaceAll(String regex, String replacement, String columnName) { replaceAll(regex, replacement, getColumnIndex(columnName)); }
/** * @param columnName title of the column to process */ public void removeTokens(String tokens, String columnName) { removeTokens(tokens, getColumnIndex(columnName)); }
/** * @param columnName title of the column to trim */ public void trim(String columnName) { trim(getColumnIndex(columnName)); }
/** * Sorts (orders) a table based on the values in a column. * * @webref table:method * @brief Orders a table based on the values in a column * @param columnName the name of the column to sort * @see Table#trim() */ public void sort(String columnName) { sort(getColumnIndex(columnName), false); }
/** * @webref table:method * @brief Removes a column from a table * @param columnName the title of the column to be removed * @see Table#addColumn() */ public void removeColumn(String columnName) { removeColumn(getColumnIndex(columnName)); }
/** * @param columnName title of the target column */ public void setInt(int row, String columnName, int value) { setInt(row, getColumnIndex(columnName), value); }
/** * @param columnName title of the column to reference */ public float getFloat(int row, String columnName) { return getFloat(row, getColumnIndex(columnName)); }
/** * @param columnName title of the column to search */ public Iterable<TableRow> matchRows(String regexp, String columnName) { return matchRows(regexp, getColumnIndex(columnName)); }