Here you can find the source of min(long x, long y)
public static long min(long x, long y)
//package com.java2s; //License from project: Apache License public class Main { public static long min(long x, long y) { return x <= y ? x : y; }/*from w w w .j a v a 2 s . c om*/ public static int min(int x, int y) { return x <= y ? x : y; } }