|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.dna.common.statistic.Histogram.Bucket
public class Histogram.Bucket
Represents a bucket in a histogram.
Method Summary | |
---|---|
int |
checkValue(T value,
boolean isLast)
Check whether the value fits in this bucket. |
int |
compareTo(Histogram.Bucket that)
|
boolean |
equals(Object obj)
|
T |
getLowerBound()
Get the lower bound of this bucket. |
long |
getNumberOfValues()
Get the number of values in this bucket. |
float |
getPercentageOfValues()
Return the percentage of values in the histogram that appear in this bucket. |
T |
getUpperBound()
Get the upper bound of this bucket. |
T |
getWidth()
Get the width of this bucket. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public T getLowerBound()
public T getUpperBound()
public T getWidth()
public float getPercentageOfValues()
public long getNumberOfValues()
public int checkValue(T value, boolean isLast)
value
- the value to checkisLast
-
public int compareTo(Histogram.Bucket that)
compareTo
in interface Comparable<Histogram.Bucket>
public boolean equals(Object obj)
equals
in class Object
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |