Android examples for java.lang:Integer
Get minimum for three integer without if statements
import android.text.TextUtils; import java.util.ArrayList; import java.util.List; public class Main{ private static int minimum(int a, int b, int c) { return Math.min(Math.min(a, b), c); }//from ww w .j av a2 s . c o m }