public class HistogramBin extends java.lang.Object implements java.lang.Cloneable, java.io.Serializable
HistogramDataset class.| Constructor and Description |
|---|
HistogramBin(double startBoundary,
double endBoundary)
Creates a new bin.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone()
Returns a clone of the bin.
|
boolean |
equals(java.lang.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.
|
public HistogramBin(double startBoundary, double endBoundary)
startBoundary - the start boundary.endBoundary - the end boundary.public int getCount()
public void incrementCount()
public double getStartBoundary()
public double getEndBoundary()
public double getBinWidth()
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj - the object to test against.public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone in class java.lang.Objectjava.lang.CloneNotSupportedException - not thrown by this class.