code: public void addValue (int value)
      {
          if (value < _minValue) {
              _buckets[0]++;
          } else if (value >= _maxValue) {
              _buckets[_buckets.length-1]++;
          } else {
              _buckets[(value-_minValue)/_bucketWidth]++;
          }
          _count++;
      }
docs: Registers a value with this histogram.