/** * Returns the number of sub-intervals for a given item. * * @param row the row index (zero-based). * @param column the column index (zero-based). * * @return The sub-interval count. * * @see #getSubIntervalCount(Comparable, Comparable) */ public int getSubIntervalCount(int row, int column) { return this.underlying.getSubIntervalCount(row, column + this.firstCategoryIndex); }
/** * Returns the number of sub-intervals for a given item. * * @param row the row index (zero-based). * @param column the column index (zero-based). * * @return The sub-interval count. * * @see #getSubIntervalCount(Comparable, Comparable) */ @Override public int getSubIntervalCount(int row, int column) { return this.underlying.getSubIntervalCount(row, column + this.firstCategoryIndex); }
/** * Returns the number of sub-intervals for a given item. * * @param rowKey the row key. * @param columnKey the column key. * * @return The sub-interval count. * * @see #getSubIntervalCount(int, int) */ public int getSubIntervalCount(Comparable rowKey, Comparable columnKey) { int r = getRowIndex(rowKey); int c = getColumnIndex(columnKey); if (c != -1) { return this.underlying.getSubIntervalCount(r, c + this.firstCategoryIndex); } else { throw new UnknownKeyException("Unknown columnKey: " + columnKey); } }
/** * Returns the number of sub-intervals for a given item. * * @param rowKey the row key. * @param columnKey the column key. * * @return The sub-interval count. * * @see #getSubIntervalCount(int, int) */ @Override public int getSubIntervalCount(Comparable rowKey, Comparable columnKey) { int r = getRowIndex(rowKey); int c = getColumnIndex(columnKey); if (c == -1) { throw new UnknownKeyException("Unknown columnKey: " + columnKey); } else if (r == -1) { throw new UnknownKeyException("Unknown rowKey: " + rowKey); } else { return this.underlying.getSubIntervalCount(r, c + this.firstCategoryIndex); } }
int column) { int count = dataset.getSubIntervalCount(row, column); if (count == 0) { drawTask(g2, state, dataArea, plot, domainAxis, rangeAxis,
int column) { int count = dataset.getSubIntervalCount(row, column); if (count == 0) { drawTask(g2, state, dataArea, plot, domainAxis, rangeAxis,