org.jfree.data.statistics
Class HistogramBin
java.lang.Object
org.jfree.data.statistics.HistogramBin
- Cloneable, Serializable
extends java.lang.Object
implements Cloneable, Serializable
HistogramBin(double startBoundary, double endBoundary) - Creates a new bin.
|
Object | clone() - Returns a clone of the bin.
|
boolean | equals(Object obj) - Tests this object for equality with an arbitrary object.
|
double | getBinWidth() - Returns the bin width.
|
int | getCount() - Returns the number of items in the bin.
|
double | getEndBoundary() - Returns the end boundary.
|
double | getStartBoundary() - Returns the start boundary.
|
void | incrementCount() - Increments the item count.
|
HistogramBin
public HistogramBin(double startBoundary,
double endBoundary)
Creates a new bin.
startBoundary
- the start boundary.endBoundary
- the end boundary.
clone
public Object clone()
throws CloneNotSupportedException
Returns a clone of the bin.
equals
public boolean equals(Object obj)
Tests this object for equality with an arbitrary object.
obj
- the object to test against.
getBinWidth
public double getBinWidth()
Returns the bin width.
getCount
public int getCount()
Returns the number of items in the bin.
getEndBoundary
public double getEndBoundary()
Returns the end boundary.