/guava/guava/src/com/google/common/net/InetAddresses.java
return getInet4Address ( Ints.toByteArray ( coercedHash ) ) ;
} int coercedHash = Hashing.murmur3_32_fixed().hashLong(addressAsLong).asInt(); coercedHash |= 0xe0000000; if (coercedHash == 0xffffffff) { coercedHash = 0xfffffffe; } <extra_id_0> } public static int coerceToInteger(InetAddress ip) { return ByteStreams.newDataInput(getCoercedIPv4Address(ip).getAddress()).readInt(); } public static BigInteger toBigInteger(InetAddress address) { return new BigInteger(1, address.getAddress());