Here you can find the source of min(Number... array)
public static Number min(Number... array)
//package com.java2s; //License from project: Apache License public class Main { public static Number min(Number... array) { Number min = array[0];/* w w w . j a va 2 s. c o m*/ for (int i = 1; i < array.length; i++) { if (array[i].doubleValue() < min.doubleValue()) { min = array[i]; } } return min; } }