src/main/java/org/a05annex/util/Utl.java
public static double max(double... values) {
        double max = Double.NEGATIVE_INFINITY;
        for (double v : values) {
            if (v > max) {
                max = v;
            }
        }
        return max;
    }
/**
     * Get the maximum value of an arbitrary number of values.
     *
     * @param values The values. The number of values is variable and may be zero.
     * @return The maximum value, {@link Double#NEGATIVE_INFINITY} if no values are specified.
     */
Get the maximum value of an arbitrary number of values.
@param values The values. The number of values is variable and may be zero.
@return The maximum value,  Double#NEGATIVE_INFINITY if no values are specified.
Get the maximum value of an arbitrary number of values . @param values The values . The number of values is variable and may be zero . @return The maximum value Double#NEGATIVE_INFINITY if no values are specified .
public static double max(double... values) {
        double max = Double.NEGATIVE_INFINITY;
        for (double v : values) {
            if (v > max) {
                max = v;
            }
        }
        return max;
    }
public static double max ( double ... values ) { double max = Double . NEGATIVE_INFINITY ; for ( double v : values ) { if ( v > max ) { max = v ; } } return max ; }
Get the maximum value of an arbitrary number of values.
Get the maximum value of an arbitrary number of values .