Searched refs:coerceToInteger (Results 1 – 2 of 2) sorted by relevance
636 assertTrue(0xe0000000 <= InetAddresses.coerceToInteger(coerced)); in testGetCoercedIPv4Address()637 assertTrue(InetAddresses.coerceToInteger(coerced) <= 0xfffffffe); in testGetCoercedIPv4Address()642 assertEquals(0x7f000001, InetAddresses.coerceToInteger(ipv4Addr)); in testToInteger()
937 public static int coerceToInteger(InetAddress ip) { in coerceToInteger() method in InetAddresses