Here you can find the source of min(int a, int b)
public static int min(int a, int b)
//package com.java2s; //License from project: Open Source License public class Main { public static int min(int a, int b) { if (a < b) return a; return b; }//from w w w .ja v a 2 s . com public static int min(int a, int b, int c) { if (min(a, b) < c) return min(a, b); return c; } }