/** * Returns the row index for a given key. * * @param key the row key. * * @return The row index. */ @Override public int getRowIndex(Comparable key) { return this.data.getRowIndex(key); }
/** * Returns the row index for a given key. * * @param key the row key ({@code null} not permitted). * * @return The row index. */ @Override public int getRowIndex(Comparable key) { // defer null argument check return this.data.getRowIndex(key); }
/** * Returns the row index for a given key. * * @param key the row key (<code>null</code> not permitted). * * @return The row index. * * @see #getRowKey(int) */ public int getRowIndex(Comparable key) { // defer null argument check return this.data.getRowIndex(key); }
/** * Returns the row index for a given key. * * @param key the row key. * * @return The row index. */ public int getRowIndex(Comparable key) { return this.data.getRowIndex(key); }
/** * Returns the row index for a given key. * * @param key the row key (<code>null</code> not permitted). * * @return The row index. */ public int getRowIndex(Comparable key) { // defer null argument check return this.data.getRowIndex(key); }
/** * Returns the row index for a given key. * * @param key the row key ({@code null} not permitted). * * @return The row index. * * @see #getRowKey(int) */ @Override public int getRowIndex(Comparable key) { // defer null argument check return this.data.getRowIndex(key); }
/** * Removes an entire row from the table. * * @param rowKey the row key ({@code null} not permitted). * * @throws UnknownKeyException if {@code rowKey} is not recognised. * * @see #removeColumn(Comparable) */ public void removeRow(Comparable rowKey) { int index = getRowIndex(rowKey); if (index < 0) { throw new UnknownKeyException("Row key (" + rowKey + ") not recognised."); } removeRow(index); }
/** * Removes an entire row from the table. * * @param rowKey the row key (<code>null</code> not permitted). * * @throws UnknownKeyException if <code>rowKey</code> is not recognised. * * @see #removeColumn(Comparable) */ public void removeRow(Comparable rowKey) { int index = getRowIndex(rowKey); if (index < 0) { throw new UnknownKeyException("Row key (" + rowKey + ") not recognised."); } removeRow(index); }
int c = this.data.getRowIndex(rowKey); if ((r == this.maximumRangeValueRow && c == this.maximumRangeValueColumn) || (r
int c = this.data.getRowIndex(rowKey); if ((r == this.maximumRangeValueRow && c == this.maximumRangeValueColumn) || (r
int rowIndex = getRowIndex(rowKey); if (rowIndex < 0) { throw new UnknownKeyException("Row key (" + rowKey
int rowIndex = getRowIndex(rowKey); if (rowIndex < 0) { throw new UnknownKeyException("Row key (" + rowKey
int r = this.data.getRowIndex(rowKey); int c = this.data.getColumnIndex(columnKey); if ((this.maximumRangeValueRow == r && this.maximumRangeValueColumn
int r = this.data.getRowIndex(rowKey); int c = this.data.getColumnIndex(columnKey); if ((this.maximumRangeValueRow == r && this.maximumRangeValueColumn