Here you can find the source of minimum(int... values)
public static int minimum(int... values)
//package com.java2s; //License from project: Apache License public class Main { public static int minimum(int... values) { int ret = values[0]; for (int i = 1; i < values.length; i++) { ret = Math.max(ret, values[i]); }// w ww. ja v a 2 s . c om return ret; } }