Here you can find the source of inRange11(int val, int from, int to)
public static boolean inRange11(int val, int from, int to)
//package com.java2s; public class Main { public static boolean inRange11(int val, int from, int to) { return val >= from && val <= to; }//from w w w . ja v a2 s. co m }