Stores a String value in the Table 's specified row and column. The row is specified by its ID, while the column may be specified by either its ID or title. @webref table:method @webBrief Stores a String value in the Table 's specified row and column @param row ID number of the target r
(int row, int column, String value)
| 3592 | * @see Table#getStringColumn(String) |
| 3593 | */ |
| 3594 | public void setString(int row, int column, String value) { |
| 3595 | ensureBounds(row, column); |
| 3596 | if (columnTypes[column] != STRING) { |
| 3597 | throw new IllegalArgumentException("Column " + column + " is not a String column."); |
| 3598 | } |
| 3599 | String[] stringData = (String[]) columns[column]; |
| 3600 | stringData[row] = value; |
| 3601 | } |
| 3602 | |
| 3603 | /** |
| 3604 | * @param columnName title of the target column |
no test coverage detected