WEB4J Development Tools 4.10.0.0

hirondelle.web4jtools.metrics.histogram
Class Bucket

Object
  extended by hirondelle.web4jtools.metrics.histogram.Bucket

public final class Bucket
extends Object

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

Bucket

public Bucket(int aMin,
              int aMax)
Full constructor.

Min must be less than max.


Bucket

public Bucket(Integer aMin)
Special constructor for the 'last' bucket, which has no upper limit.

Method Detail

incrementCount

public void incrementCount()
Increase the number of items in this bucket by one.


getCount

public Integer getCount()
Return the number of items in this bucket.


getMin

public Integer getMin()

getMax

public Integer getMax()

WEB4J Development Tools 4.10.0.0

Copyright Hirondelle Systems - Generated 2013Oct19.12.26