Here you can find the source of min(final Number... numbers)
public static Number min(final Number... numbers)
//package com.java2s; //License from project: Open Source License public class Main { public static Number min(final Number... numbers) { double min = Double.MAX_VALUE; for (final Number n : numbers) { final double d = n.doubleValue(); min = Math.min(min, d); }// ww w .j a v a 2 s. c o m return min; } }