Here you can find the source of maxLimit(int receiver, int... maxBound)
public static int maxLimit(int receiver, int... maxBound)
//package com.java2s; //License from project: Open Source License public class Main { public static int maxLimit(int receiver, int... maxBound) { return min(receiver, maxBound); }/*from ww w. ja v a2s . c o m*/ public static int min(int receiver, int... others) { int min = receiver; for (int other : others) { if (min > other) min = other; } return min; } }