add testcase

This commit is contained in:
wenshao
2012-07-04 15:46:14 +08:00
parent 0fd745f4ef
commit c1d304bf2e
2 changed files with 47 additions and 0 deletions
@@ -77,6 +77,10 @@ public class Histogram {
return ranges;
}
public long getValue(int index) {
return rangeCounters[index].get();
}
public String toString() {
StringBuilder buf = new StringBuilder();
buf.append('[');