class EmpiricalDistribution extends AbstractRealDistribution {

    public double getNextValue() throws MathIllegalStateException {

        if (!loaded) {
            throw new MathIllegalStateException(LocalizedFormats.DISTRIBUTION_NOT_LOADED);
        }

        return sample();
    }

    public  EmpiricalDistribution();
    public  EmpiricalDistribution(int binCount);
    public  EmpiricalDistribution(int binCount, RandomGenerator generator);
    public  EmpiricalDistribution(RandomGenerator generator);
    @Deprecated public  EmpiricalDistribution(int binCount, RandomDataImpl randomData);
    @Deprecated public  EmpiricalDistribution(RandomDataImpl randomData);
    private  EmpiricalDistribution(int binCount,
                                  RandomDataGenerator randomData);

}