Here you can find the source of min(int number1, int number2)
public static int min(int number1, int number2)
//package com.java2s; //License from project: Open Source License public class Main { public static double min(double number1, double number2) { return number1 < number2 ? number1 : number2; }/*w w w. j a v a 2 s . com*/ public static int min(int number1, int number2) { return number1 < number2 ? number1 : number2; } }