public void removeRow(RowRecord row) {int rowIndex = row.getRowNumber();_valuesAgg.removeAllCellsValuesForRow(rowIndex);Integer key = Integer.valueOf(rowIndex);RowRecord rr = _rowRecords.remove(key);if (rr == null) {throw new RuntimeException("Invalid row index (" + key.intValue() + ")");}if (row != rr) {_rowRecords.put(key, rr);throw new RuntimeException("Attempt to remove row that does not belong to this sheet");}_rowRecordValues = null;}
public void RemoveRow(RowRecord row){int rowIndex = row.RowNumber;_valuesAgg.RemoveAllCellsValuesForRow(rowIndex);int key = rowIndex;RowRecord rr = (RowRecord)_rowRecords[key];_rowRecords.Remove(key);if (rr == null){throw new Exception("Invalid row index (" + key + ")");}if (row != rr){_rowRecords[key] = rr;throw new Exception("Attempt to remove row that does not belong to this sheet");}_rowRecordValues = null;}