Java Integer Between between(int floor, int x, int ceiling)

Here you can find the source of between(int floor, int x, int ceiling)

Description

between

License

Open Source License

Parameter

Parameter Description
floor non-inclusive low value
x to test
ceiling non-inclusive high value

Return

(floor < x < ceiling)

Declaration

public static boolean between(int floor, int x, int ceiling) 

Method Source Code

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

public class Main {
    /**//from ww  w  .  j av a2  s.c o  m
     * @param floor non-inclusive low value
     * @param x to test 
     * @param ceiling non-inclusive high value
     * @return (floor < x < ceiling)
     */
    public static boolean between(int floor, int x, int ceiling) {
        return (floor < x) && (x < ceiling);
    }
}

Related

  1. between(int column, int line, int startCol, int startLine, int endCol, int endLine)
  2. between(int coord, int limit)
  3. between(int number, int from, int to)
  4. between(int value, int lower, int upper)
  5. between(int value, int min, int max)
  6. between(int value, int min, int max)