|
Header
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jfree.data.statistics.SimpleHistogramBin
public class SimpleHistogramBin
A bin for the SimpleHistogramDataset.
| Constructor Summary | |
|---|---|
SimpleHistogramBin(double lowerBound,
double upperBound)
Creates a new bin. |
|
SimpleHistogramBin(double lowerBound,
double upperBound,
boolean includeLowerBound,
boolean includeUpperBound)
Creates a new bin. |
|
| Method Summary | |
|---|---|
boolean |
accepts(double value)
Returns true if the specified value belongs in the bin,
and false otherwise. |
java.lang.Object |
clone()
Returns a clone of the bin. |
int |
compareTo(java.lang.Object obj)
Compares the bin to an arbitrary object and returns the relative ordering. |
boolean |
equals(java.lang.Object obj)
Tests this bin for equality with an arbitrary object. |
int |
getItemCount()
Returns the item count. |
double |
getLowerBound()
Returns the lower bound. |
double |
getUpperBound()
Return the upper bound. |
boolean |
overlapsWith(SimpleHistogramBin bin)
Returns true if this bin overlaps with the specified bin,
and false otherwise. |
void |
setItemCount(int count)
Sets the item count. |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleHistogramBin(double lowerBound,
double upperBound)
lowerBound - the lower bound (inclusive).upperBound - the upper bound (inclusive);
public SimpleHistogramBin(double lowerBound,
double upperBound,
boolean includeLowerBound,
boolean includeUpperBound)
lowerBound - the lower bound.upperBound - the upper bound.includeLowerBound - include the lower bound?includeUpperBound - include the upper bound?| Method Detail |
|---|
public double getLowerBound()
public double getUpperBound()
public int getItemCount()
public void setItemCount(int count)
count - the item count.public boolean accepts(double value)
true if the specified value belongs in the bin,
and false otherwise.
value - the value.
public boolean overlapsWith(SimpleHistogramBin bin)
true if this bin overlaps with the specified bin,
and false otherwise.
bin - the other bin (null not permitted).
public int compareTo(java.lang.Object obj)
compareTo in interface java.lang.Comparableobj - the object.
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj - the object (null permitted).
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone in interface org.jfree.util.PublicCloneableclone in class java.lang.Objectjava.lang.CloneNotSupportedException - not thrown by this class.
|
Footer
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||