- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for isIPv4 (0.03 sec)
-
src/test/java/jcifs/internal/witness/WitnessNotificationTest.java
assertTrue(newIPv4.isIPv4()); assertFalse(newIPv4.isIPv6()); assertEquals(WitnessNotification.WitnessIPAddress.IPV4, newIPv4.getFlags()); // Check IPv6 address WitnessNotification.WitnessIPAddress newIPv6 = newAddresses.get(1); assertEquals(ipv6, newIPv6.getAddress()); assertFalse(newIPv6.isIPv4()); assertTrue(newIPv6.isIPv6());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 09:06:40 UTC 2025 - 5K bytes - Viewed (0) -
src/main/java/jcifs/internal/witness/WitnessNotification.java
return flags; } /** * Checks if this is an IPv4 address. * * @return true if IPv4 */ public boolean isIPv4() { return (flags & IPV4) != 0; } /** * Checks if this is an IPv6 address. * * @return true if IPv6 */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 6.4K bytes - Viewed (0)