@Test public void testPercentiles50NoWrap() { StatsBuffer buffer = getNoWrap(); double[] percentiles = buffer.getPercentileValues(); assertEquals(percentiles[0], 250.5); }
public double[] getPercentileValues() { return Arrays.copyOf(percentileValues, percentileValues.length); }
StatsBuffer { public double[] getPercentileValues() { return Arrays.copyOf(percentileValues, percentileValues.length); } }
StatsBuffer { public double[] getPercentileValues() { return Arrays.copyOf(percentileValues, percentileValues.length); } StatsBuffer(int size, double[] percentiles); }
StatsBuffer { public double[] getPercentileValues() { return Arrays.copyOf(percentileValues, percentileValues.length); } StatsBuffer(int size, double[] percentiles); void reset(); void record(long n); void computeStats(); int getCount(); double getMean(); double getVariance(); double getStdDev(); long getMin(); long getMax(); long getTotalTime(); double[] getPercentileValues(); double[] getPercentiles(); double getPercentileValueForIdx(int index); }
StatsBuffer { public double[] getPercentileValues() { return Arrays.copyOf(percentileValues, percentileValues.length); } StatsBuffer(int size, double[] percentiles); void reset(); void record(long n); void computeStats(); int getCount(); double getMean(); double getVariance(); double getStdDev(); long getMin(); long getMax(); long getTotalTime(); double[] getPercentileValues(); double[] getPercentiles(); double getPercentileValueForIdx(int index);  }