/** * Returns the number of items in ALL series. * * @return The item count. */ @Override public int getItemCount() { return this.values.getRowCount(); }
/** * Returns the number of x values in the dataset. * * @return The item count. */ @Override public int getItemCount() { return this.values.getRowCount(); }
/** * Returns the number of rows in the table. * * @return The row count. * * @see #getColumnCount() */ @Override public int getRowCount() { return this.data.getRowCount(); }
/** * Returns the number of x values in the dataset. * * @return The item count. */ public int getItemCount() { return this.values.getRowCount(); }
/** * Returns the number of items in ALL series. * * @return The item count. */ public int getItemCount() { return this.values.getRowCount(); }
/** * Returns the number of rows in the table. * * @return The row count. * * @see #getColumnCount() */ public int getRowCount() { return this.data.getRowCount(); }
/** * Returns the set of unique values. * * @return The set of unique values. */ public Set getUniqueValues() { Set unique = new TreeSet(); //step through all the values and add them to the hash for (int r = 0; r < this.data.getRowCount(); r++) { for (int c = 0; c < this.data.getColumnCount(); c++) { Number value = this.data.getValue(r, c); if (value != null) { unique.add(value); } } } return unique; }
/** * Removes all data items from the dataset and sends a * {@link DatasetChangeEvent} to all registered listeners. * * @since 1.0.7 */ public void clear() { if (this.values.getRowCount() > 0) { this.values.clear(); fireDatasetChanged(); } }
/** * Removes all data items from the dataset and sends a * {@link DatasetChangeEvent} to all registered listeners. * * @since 1.0.7 */ public void clear() { if (this.values.getRowCount() > 0) { this.values.clear(); fireDatasetChanged(); } }
/** * Returns the set of unique values. * * @return The set of unique values. */ public Set getUniqueValues() { Set unique = new TreeSet(); //step through all the values and add them to the hash for (int r = 0; r < this.data.getRowCount(); r++) { for (int c = 0; c < this.data.getColumnCount(); c++) { Number value = this.data.getValue(r, c); if (value != null) { unique.add(value); } } } return unique; }
return false; int rowCount = getRowCount(); if (rowCount != kv2D.getRowCount()) { return false;
return false; int rowCount = getRowCount(); if (rowCount != kv2D.getRowCount()) { return false;