src/main/java/com/xceptance/neodymium/visual/ai/util/Helper.java
/***
     * Detect if the checkValue is in the range from the referencePoint in respect of the given difference.
     * 
     * @param checkValue
     *            Integer value which will be checked
     * @param referencePoint
     *            Integer value which is used as reference for the checkValue
     * @param difference
     *            Integer difference value
     * @return true if checkValue was near enough, false otherwise
     */
Detect if the checkValue is in the range from the referencePoint in respect of the given difference.

@param checkValue
Integer value which will be checked
@param referencePoint
Integer value which is used as reference for the checkValue
@param difference
Integer difference value
@return true if checkValue was near enough, false otherwise
Detect if the checkValue is in the range from the referencePoint in respect of the given difference . @param checkValue Integer value which will be checked @param referencePoint Integer value which is used as reference for the checkValue @param difference Integer difference value @return true if checkValue was near enough false otherwise
public static boolean inBetween(int checkValue, int referencePoint, int difference)
    {
        if (checkValue >= referencePoint - difference && checkValue <= referencePoint + difference)
        {
            return true;
        }
        return false;
    }
public static boolean inBetween ( int checkValue , int referencePoint , int difference ) { if ( checkValue >= referencePoint - difference && checkValue <= referencePoint + difference ) { return true ; } return false ; }
Detect if the checkValue is in the range from the referencePoint in respect of the given difference.
Detect if the checkValue is in the range from the referencePoint in respect of the given difference .