Make sure this is a legit row and column. If not, expand the table.
(int row, int col)
| 4166 | |
| 4167 | /** Make sure this is a legit row and column. If not, expand the table. */ |
| 4168 | protected void ensureBounds(int row, int col) { |
| 4169 | ensureRow(row); |
| 4170 | ensureColumn(col); |
| 4171 | } |
| 4172 | |
| 4173 | |
| 4174 | /** Throw an error if this row doesn't exist. */ |