Here you can find the source of min(double... d)
Parameter | Description |
---|---|
d | a parameter |
private static double min(double... d)
//package com.java2s; //License from project: Open Source License public class Main { /**// ww w .j a v a2 s . c om * Min Value * * @param d * @return the min value in the array */ private static double min(double... d) { double result = Double.MAX_VALUE; for (double e : d) { result = Math.min(result, e); } return result; } }