@Override
	public Cdf cdf() {
		return x -> {
			final double divisor = domain.max() - domain.min();

			double result = 0.0;
			if (x < domain.min()) {
				result = 0.0;
			} else if (x > domain.max()) {
				result = 1.0;
			} else {
				result = (x - domain.min())/divisor;
			}

			return result;
		};
	}
Return a new CDF object.

<p>
<img
    src="doc-files/uniform-cdf.gif"
    alt="f(x)=\left\{\begin{matrix}
        0 & for & x < min \\
        \frac{x-min}{max-min} & for & x \in [min, max] \\
        1 & for & x > max  \\
        \end{matrix}\right."
>
</p>
jenetics.incubator/src/main/java/io/jenetics/incubator/stat/UniformDistribution.java