Here you can find the source of min(int receiver, int... others)
public static int min(int receiver, int... others)
//package com.java2s; //License from project: Open Source License public class Main { public static int min(int receiver, int... others) { int min = receiver; for (int other : others) { if (min > other) min = other;//from w w w . jav a2s . c o m } return min; } }