Java Number Range Check inrange(int actual, int leftRange, int rightRange)

Here you can find the source of inrange(int actual, int leftRange, int rightRange)

Description

inrange

License

Apache License

Declaration

protected static boolean inrange(int actual, int leftRange,
            int rightRange) 

Method Source Code

//package com.java2s;
//License from project: Apache License 

public class Main {
    protected static boolean inrange(int actual, int leftRange,
            int rightRange) {
        return (actual >= leftRange && actual <= rightRange);
    }/*from   w  ww .java2s  . c  o m*/
}

Related

  1. inRange(final float testNum, final float min, final float max)
  2. inRange(final int id, final int min, final int max)
  3. inRange(final int value, final int min, final int max)
  4. inRange(final int value, final int min, final int max, final String fieldName)
  5. inRange(float n, float min, float max)
  6. inRange(int check, int range)
  7. inRange(int checkValue, int min, int max)
  8. inRange(int firstIndex, int secondIndex)
  9. inRange(int l, int u, int v, int... v_)