Android examples for App:Log
Log greater Than Or Equal message
//package com.java2s; import android.util.Log; public class Main { public static void greaterThanOrEqual(int value, int start, String message) {//from w w w. j a v a 2 s. c o m if (value < start) { Log.d("TTT", "Value : " + value + " | Compared: " + start); throw new IllegalArgumentException(message); } } public static void greaterThanOrEqual(int value, int start) { greaterThanOrEqual(value, start, null); } }