for (BinScheme scheme : Arrays.asList(new ConstantBinScheme(1000, -100, 100),
new ConstantBinScheme(100, -100, 100),
new ConstantBinScheme(10, -100, 100))) {
Histogram h = new Histogram(scheme);
for (int i = 0; i < 10000; i++)
h.record(200.0 * random.nextDouble() - 100.0);
for (double quantile = 0.0; quantile < 1.0; quantile += 0.05)
System.out.printf("%5.2f: %.1f, ", quantile, h.value(quantile));
System.out.println();
}