### Question:
RegexUtil { public static boolean isInteger(String integer, long min, long max) { if (integer == null) return false; if (!integer.matches("^-?[0-9](\\d)*$")) return false; long num; try { num = Long.valueOf(integer); } catch (NumberFormatException e) { e.printStackTrace(); return false; } return num >= min && num <= max; }  static boolean isIdentityNumber(String num); static boolean isCellphoneNumber(String num); static boolean isCellphoneNumber(String num, boolean virtual); static boolean isPhoneNumber(String num); static boolean isAuthCode(String num); static boolean isAuthCode(String num, int min, int max); static boolean isName(String name); static boolean isVehicleLicence(String license); static boolean isEmail(String email); static boolean isBankCard(String card); static boolean isLowerMoney(String money); static boolean isInteger(String integer, long min, long max); static boolean isPassword(String password); static boolean isComplexPassword(String password); static boolean isIpAddress(String address); static boolean isIp4Address(String address); static boolean isIp6Address(String address);  }### Answer:
@Test public void isInteger() { assertTrue(RegexUtil.isInteger("64646416846", Long.MIN_VALUE, Long.MAX_VALUE)); }