|
WEB4J Development Tools 4.10.0.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Objecthirondelle.web4jtools.metrics.histogram.Bucket
public final class Bucket
Model Object for an element of a histogram, whose elements have numeric ranges.
This class is mutable.
Constructor Summary | |
---|---|
Bucket(Integer aMin)
Special constructor for the 'last' bucket, which has no upper limit. |
|
Bucket(int aMin,
int aMax)
Full constructor. |
Method Summary | |
---|---|
Integer |
getCount()
Return the number of items in this bucket. |
Integer |
getMax()
|
Integer |
getMin()
|
void |
incrementCount()
Increase the number of items in this bucket by one. |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Bucket(int aMin, int aMax)
Min must be less than max.
public Bucket(Integer aMin)
Method Detail |
---|
public void incrementCount()
public Integer getCount()
public Integer getMin()
public Integer getMax()
|
WEB4J Development Tools 4.10.0.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |