Android Int Range Check isBetween(int number, int first, int second)

Here you can find the source of isBetween(int number, int first, int second)

Description

is Between

License

Apache License

Declaration

private static boolean isBetween(int number, int first, int second) 

Method Source Code

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

public class Main {
    private static boolean isBetween(int number, int first, int second) {
        return ((number > first) && (number < second));
    }/*w w  w . ja va 2 s . c o  m*/
}

Related

  1. inRange10(int val, int from, int to)
  2. inRange11(int val, int from, int to)