Here you can find the source of minLimit(float value, float min)
public static float minLimit(float value, float min)
//package com.java2s; public class Main { public static float minLimit(float value, float min) { return value < min ? min : value; }//from ww w.j a v a 2 s .c o m public static double minLimit(double value, double min) { return value < min ? min : value; } public static int minLimit(int value, int min) { return value < min ? min : value; } }