PSquarePercentile extends AbstractStorelessUnivariateStatistic implements StorelessUnivariateStatistic, Serializable { public double quantile() { return quantile; } PSquarePercentile(final double p);   PSquarePercentile(); @Override int hashCode(); @Override boolean equals(Object o); @Override void increment(final double observation); @Override String toString(); long getN(); @Override StorelessUnivariateStatistic copy(); double quantile(); @Override void clear(); @Override double getResult(); static PSquareMarkers newMarkers(final List<Double> initialFive,
            final double p);  }
@Test public void testSetQuantile() { PSquarePercentile percentile = new PSquarePercentile(10d); percentile = new PSquarePercentile(100); Assert.assertEquals(1.0, percentile.quantile(), 0); try { percentile = new PSquarePercentile(0); } catch (MathIllegalArgumentException ex) { } try { new PSquarePercentile(0d); } catch (MathIllegalArgumentException ex) { } }