Java has nothing of that sort. Why not just do the following? public static boolean isBetween(int x, int lower, int upper) { return lower <= x && x <= upper ...
確定! 回上一頁