public class HistogramBin extends Object implements Cloneable, Serializable
HistogramDataset
class.Constructor and Description |
---|
HistogramBin(double startBoundary,
double endBoundary)
Creates a new bin.
|
Modifier and Type | Method and Description |
---|---|
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.
|
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(Object obj)
public Object clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
- not thrown by this class.Jas4pp 1.5 © Java Analysis Studio for Particle Physics