|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An interface representing a range of values, and a counter to tally the number of values that fall within this range. It is used to abstract a bin in a histogram.
Method Summary | |
long |
getCount()
Get the count of the number of values that fall within this range. |
java.lang.Comparable |
getHiBound()
Get the high bound of the range. |
java.lang.Comparable |
getLoBound()
Get the lower bound of the range. |
Range |
merge(Range range)
A helper method that will merge this range with another range iff the ranges are adjescent. |
Method Detail |
public java.lang.Comparable getHiBound()
public java.lang.Comparable getLoBound()
public long getCount()
getHiBound()
,
getLoBound()
public Range merge(Range range)
range
- the Range object to merge with this range.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |