- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for getCompatIPv4Address (0.26 sec)
-
guava-tests/test/com/google/common/net/InetAddressesTest.java
assertThrows( "IllegalArgumentException expected for '" + nonCompatAddress + "'", IllegalArgumentException.class, () -> InetAddresses.getCompatIPv4Address((Inet6Address) ip)); } ImmutableSet<String> validCompatAddresses = ImmutableSet.of("::1.2.3.4", "::102:304"); String compatStr = "1.2.3.4"; InetAddress compat = InetAddresses.forString(compatStr);
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 31.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/net/InetAddressesTest.java
assertThrows( "IllegalArgumentException expected for '" + nonCompatAddress + "'", IllegalArgumentException.class, () -> InetAddresses.getCompatIPv4Address((Inet6Address) ip)); } ImmutableSet<String> validCompatAddresses = ImmutableSet.of("::1.2.3.4", "::102:304"); String compatStr = "1.2.3.4"; InetAddress compat = InetAddresses.forString(compatStr);
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 31.9K bytes - Viewed (0) -
android/guava/src/com/google/common/net/InetAddresses.java
* @return {@link Inet4Address} of the embedded IPv4 address * @throws IllegalArgumentException if the argument is not a valid IPv4 compatible address */ public static Inet4Address getCompatIPv4Address(Inet6Address ip) { checkArgument( isCompatIPv4Address(ip), "Address '%s' is not IPv4-compatible.", toAddrString(ip)); return getInet4Address(Arrays.copyOfRange(ip.getAddress(), 12, 16)); }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Fri Dec 15 19:31:54 GMT 2023 - 44K bytes - Viewed (1)