< prev index next >
src/java.base/share/classes/java/net/Inet4Address.java
Print this page
*** 162,172 ****
return ((holder().getAddress() & 0xf0000000) == 0xe0000000);
}
/**
* Utility routine to check if the InetAddress is a wildcard address.
! * @return a {@code boolean} indicating if the Inetaddress is
* a wildcard address.
*/
public boolean isAnyLocalAddress() {
return holder().getAddress() == 0;
}
--- 162,172 ----
return ((holder().getAddress() & 0xf0000000) == 0xe0000000);
}
/**
* Utility routine to check if the InetAddress is a wildcard address.
! * @return a {@code boolean} indicating if the InetAddress is
* a wildcard address.
*/
public boolean isAnyLocalAddress() {
return holder().getAddress() == 0;
}
< prev index next >