Method Summary |
|
public void | addBin(SimpleHistogramBin bin) Adds a bin to the dataset. |
public void | addObservation(double value) Adds an observation to the dataset (by incrementing the item count for
the appropriate bin). |
public void | addObservation(double value, boolean notify) Adds an observation to the dataset (by incrementing the item count for
the appropriate bin). |
public void | addObservations(double[] values) Adds a set of values to the dataset. |
public void | clearObservations() Removes all current observation data and sends a
DatasetChangeEvent to all registered listeners. |
public Object | clone() Returns a clone of the dataset. |
public boolean | equals(Object obj) Compares the dataset for equality with an arbitrary object.
Parameters: obj - the object (null permitted). |
public boolean | getAdjustForBinSize() Returns a flag that controls whether or not the bin count is divided by
the bin size in the
SimpleHistogramDataset.getXValue(int,int) method. |
public DomainOrder | getDomainOrder() Returns the order of the domain (or X) values returned by the dataset. |
public Number | getEndX(int series, int item) Returns the ending X value for the specified series and item.
Parameters: series - the series index (zero-based). Parameters: item - the item index (zero-based). |
public double | getEndXValue(int series, int item) Returns the end x-value (as a double primitive) for an item within a
series.
Parameters: series - the series index (zero-based). Parameters: item - the item index (zero-based). |
public Number | getEndY(int series, int item) Returns the ending Y value for the specified series and item.
Parameters: series - the series index (zero-based). Parameters: item - the item index (zero-based). |
public double | getEndYValue(int series, int item) Returns the end y-value (as a double primitive) for an item within a
series.
Parameters: series - the series index (zero-based). Parameters: item - the item index (zero-based). |
public int | getItemCount(int series) Returns the number of items in a series.
Parameters: series - the series index (zero-based, ignored in this dataset). |
public int | getSeriesCount() Returns the number of series in the dataset (always 1 for this dataset). |
public Comparable | getSeriesKey(int series) Returns the key for a series.
Parameters: series - the series (zero-based index, ignored in this dataset). |
public Number | getStartX(int series, int item) Returns the starting X value for the specified series and item.
Parameters: series - the series index (zero-based). Parameters: item - the item index (zero-based). |
public double | getStartXValue(int series, int item) Returns the start x-value (as a double primitive) for an item within a
series.
Parameters: series - the series (zero-based index). Parameters: item - the item (zero-based index). |
public Number | getStartY(int series, int item) Returns the starting Y value for the specified series and item.
Parameters: series - the series index (zero-based). Parameters: item - the item index (zero-based). |
public double | getStartYValue(int series, int item) Returns the start y-value (as a double primitive) for an item within a
series.
Parameters: series - the series index (zero-based). Parameters: item - the item index (zero-based). |
public Number | getX(int series, int item) Returns the x-value for an item within a series. |
public double | getXValue(int series, int item) Returns the x-value (as a double primitive) for an item within a series.
Parameters: series - the series index (zero-based). Parameters: item - the item index (zero-based). |
public Number | getY(int series, int item) Returns the y-value for an item within a series.
Parameters: series - the series index (zero-based). Parameters: item - the item index (zero-based). |
public double | getYValue(int series, int item) Returns the y-value (as a double primitive) for an item within a series.
Parameters: series - the series index (zero-based). Parameters: item - the item index (zero-based). |
public void | removeAllBins() Removes all bins and sends a
DatasetChangeEvent to all
registered listeners. |
public void | setAdjustForBinSize(boolean adjust) Sets the flag that controls whether or not the bin count is divided by
the bin size in the
SimpleHistogramDataset.getXValue(int,int) method. |