class UniformRandomProducer extends RandomProducerWithGenerator {

    @Override public Double get() {
        double result = generator().nextDouble() * (to - from) + from;
        if (result > to)
            result = to;

        return result;
    }

    public  UniformRandomProducer(double from, double to);
    public  UniformRandomProducer(double from, double to, long seed);

}