Java Number Range Check inRange(int x, int a, int b)

Here you can find the source of inRange(int x, int a, int b)

Description

in Range

License

Open Source License

Declaration

public static boolean inRange(int x, int a, int b) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

public class Main {
    public static boolean inRange(int x, int a, int b) {
        return x >= a && x <= b;
    }/*from   ww w  . ja  v a2  s.  c  om*/
}

Related

  1. inRange(int value, int lowerBound, int upperBound)
  2. inRange(int value, int min, int max)
  3. inRange(int value, int min, int max)
  4. inRange(int value, int min, int max)
  5. inRange(int value, int min, int max)
  6. inRange(Integer x1, Integer y1, Integer x2, Integer y2)
  7. inRange(long value, long lowerBound, long upperBound)
  8. inrange2(double value, double min, double max)
  9. rangeCheck(double value)