/** * Returns the number of series in the dataset. * * @return The series count. */ @Override public int getSeriesCount() { return this.values.getColumnCount(); }
/** * Returns the number of series in the collection. * * @return The series count. */ @Override public int getSeriesCount() { return this.values.getColumnCount(); }
/** * Returns the number of columns in the table. * * @return The column count. * * @see #getRowCount() */ @Override public int getColumnCount() { return this.data.getColumnCount(); }
/** * Returns the number of columns in the table. * * @return The column count. * * @see #getRowCount() */ public int getColumnCount() { return this.data.getColumnCount(); }
/** * Returns the number of series in the dataset. * * @return The series count. */ public int getSeriesCount() { return this.values.getColumnCount(); }
/** * Returns the number of series in the collection. * * @return The series count. */ public int getSeriesCount() { return this.values.getColumnCount(); }
/** * 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; }
/** * 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; }
int colCount = getColumnCount(); if (colCount != kv2D.getColumnCount()) { return false;
int colCount = getColumnCount(); if (colCount != kv2D.getColumnCount()) { return false;