221222223224225226227228229
* if the key is not recognised. */ public Number getValue(final Comparable key) { final int index = this.getIndex(key); if (index < 0) { throw new UnknownKeyException("Key not found: " + key); } return this.getValue(index); }
247248249250251252253254
if (row >= 0) { final DefaultKeyedValues rowData = (DefaultKeyedValues) this.rows .get(row); return rowData.getValue(columnKey); } else { throw new UnknownKeyException("Unrecognised rowKey: " + rowKey); } }