/guava/guava/src/com/google/common/net/InetAddresses.java
byte[] addressBytes = address.toByteArray( ) ;byte[] bytes = ip.getAddress( ) ;
byte[] bytes = ip.getAddress ( ) ;
return false; } public static Inet4Address getCoercedIPv4Address(InetAddress ip) { if (ip instanceof Inet4Address) { return (Inet4Address) ip; } <extra_id_0> boolean leadingBytesOfZero = true; for (int i = 0; i < 15; ++i) { if (bytes[i] != 0) { leadingBytesOfZero = false; break; }