@webref table:method @brief Store a String value in the specified row and column @param row ID number of the target row @param column ID number of the target column @param value value to assign @see Table#setInt(int, int, int) @see Table#setFloat(int, int, float) @see Table#getInt(int, int) @see Tab
(int row, int column, String value)
| 3527 | * @see Table#getStringColumn(String) |
| 3528 | */ |
| 3529 | public void setString(int row, int column, String value) { |
| 3530 | ensureBounds(row, column); |
| 3531 | if (columnTypes[column] != STRING) { |
| 3532 | throw new IllegalArgumentException("Column " + column + " is not a String column."); |
| 3533 | } |
| 3534 | String[] stringData = (String[]) columns[column]; |
| 3535 | stringData[row] = value; |
| 3536 | } |
| 3537 | |
| 3538 | /** |
| 3539 | * @param columnName title of the target column |
no test coverage detected