- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for testToUriStringIPv4 (0.1 sec)
-
guava-tests/test/com/google/common/net/InetAddressesTest.java
InetAddresses.toAddrString(InetAddresses.forString("2001:0658:022a:cafe::"))); assertEquals("::102:304", InetAddresses.toAddrString(InetAddresses.forString("::1.2.3.4"))); } public void testToUriStringIPv4() { String ipStr = "1.2.3.4"; InetAddress ip = InetAddresses.forString(ipStr); assertEquals("1.2.3.4", InetAddresses.toUriString(ip)); } public void testToUriStringIPv6() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri May 24 16:44:05 UTC 2024 - 35.3K bytes - Viewed (0)