Here you can find the source of min(int x, int x2, int x3)
public static int min(int x, int x2, int x3)
//package com.java2s; //License from project: Open Source License public class Main { public static int min(int x, int x2, int x3) { return x < x2 ? (x < x3 ? x : x3) : (x2 < x3 ? x2 : x3); }//from w w w.j a va 2 s . c o m }