@Test public void checkValidTest2() { int base = 0, refactor = 1; while (base < refactor) { ipValidTest2((long) Math.pow(10, base)); base += 2; } }
public static boolean checkValid2(final String ip) { return isNotEmpty(ip) && IP_V4_ADDRESS_IS_VALID2.matcher(ip).matches(); }
IpUtils { public static boolean checkValid2(final String ip) { return isNotEmpty(ip) && IP_V4_ADDRESS_IS_VALID2.matcher(ip).matches(); } }
IpUtils { public static boolean checkValid2(final String ip) { return isNotEmpty(ip) && IP_V4_ADDRESS_IS_VALID2.matcher(ip).matches(); } private  IpUtils(); }
IpUtils { public static boolean checkValid2(final String ip) { return isNotEmpty(ip) && IP_V4_ADDRESS_IS_VALID2.matcher(ip).matches(); } private  IpUtils(); static boolean checkValid(final String ip); static boolean checkValid2(final String ip); static boolean checkValidV6(final String ip); static String removeTail32(String ip); static String extractDomain(String url); static String getTailFromURL(String url); static long ip2long(String ipAddress); static String long2ip(Long ipAddress); static Integer ip2int(String ipAddress); static Boolean checkIPRange(final String ipAddress, final String range); static String getIPFromURL(String url); static Boolean isReachable(final String ipAddress); static boolean ping(final String ipAddress); static List<String> getCurrentEnvironmentNetworkIps(); }
IpUtils { public static boolean checkValid2(final String ip) { return isNotEmpty(ip) && IP_V4_ADDRESS_IS_VALID2.matcher(ip).matches(); } private  IpUtils(); static boolean checkValid(final String ip); static boolean checkValid2(final String ip); static boolean checkValidV6(final String ip); static String removeTail32(String ip); static String extractDomain(String url); static String getTailFromURL(String url); static long ip2long(String ipAddress); static String long2ip(Long ipAddress); static Integer ip2int(String ipAddress); static Boolean checkIPRange(final String ipAddress, final String range); static String getIPFromURL(String url); static Boolean isReachable(final String ipAddress); static boolean ping(final String ipAddress); static List<String> getCurrentEnvironmentNetworkIps();  }