public static int min(final int[] values) {
		int min = Integer.MAX_VALUE;
		if (values.length > 0) {
			min = values[0];
			for (int value : values) {
				if (value < min) {
					min = value;
				}
			}
		}

		return min;
	}
Return the minimum value of the given double array.

@since 4.0

@param values the array.
@return the minimum value or {@link Integer#MAX_VALUE} if the given array is
        empty.
@throws NullPointerException if the given array is {@code null}.
jenetics/src/main/java/io/jenetics/stat/IntSummary.java