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