Here you can find the source of Range(int k, int from, int end)
public static boolean Range(int k, int from, int end)
//package com.java2s; //License from project: Open Source License public class Main { public static boolean Range(int k, int from, int end) { if (k < end && k >= from) { return true; }/*from ww w .ja v a 2 s . c om*/ return false; } }