@@ -0,0 +1,945 @@
+package ro.hasna.ts.math.distribution;%0A%0A/**%0A * Implements the equal areas of probability for Uniform Distribution.%0A *%0A * @since 1.0%0A */%0Apublic class UniformDistributionDivider implements DistributionDivider %7B%0A    private double lower;%0A    private double upper;%0A%0A    /**%0A     * Creates a new instance of this class.%0A     *%0A     * @param lower the minimum value from the distribution%0A     * @param upper the maximum value from the distribution%0A     */%0A    public UniformDistributionDivider(double lower, double upper) %7B%0A        this.lower = lower;%0A        this.upper = upper;%0A    %7D%0A%0A    /**%0A     * %7B@inheritDoc%7D%0A     */%0A    @Override%0A    public double%5B%5D getBreakpoints(int areas) %7B%0A        int len = areas - 1;%0A        double%5B%5D result = new double%5Blen%5D;%0A        double intervalSize = (upper - lower) / areas;%0A        for (int i = 0; i %3C len; i++) %7B%0A            result%5Bi%5D = lower + (i + 1) * intervalSize;%0A        %7D%0A%0A        return result;%0A    %7D%0A%7D%0A

add UniformDistributionDivider