class UniformRealDistribution extends AbstractRealDistribution {

    @Override
    public double inverseCumulativeProbability(final double p)
            throws OutOfRangeException {
        if (p < 0.0 || p > 1.0) {
            throw new OutOfRangeException(p, 0, 1);
        }
        return p * (upper - lower) + lower;
    }

    public  UniformRealDistribution();
    public  UniformRealDistribution(double lower, double upper);
    @Deprecated public  UniformRealDistribution(double lower, double upper, double inverseCumAccuracy);
    @Deprecated public  UniformRealDistribution(RandomGenerator rng,
                                   double lower,
                                   double upper,
                                   double inverseCumAccuracy);
    public  UniformRealDistribution(RandomGenerator rng,
                                   double lower,
                                   double upper);

}