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 Object clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
- not thrown by this class.Copyright © 2000-2009 by Object Refinery Limited. All Rights Reserved.