src/share/classes/java/net/Inet4Address.java
Print this page
rev 10048 : 8044740: Convert all JDK versions used in @since tag to 1.n[.n] in jdk repo
Reviewed-by:
*** 153,163 ****
* Utility routine to check if the InetAddress is an
* IP multicast address. IP multicast address is a Class D
* address i.e first four bits of the address are 1110.
* @return a {@code boolean} indicating if the InetAddress is
* an IP multicast address
! * @since JDK1.1
*/
public boolean isMulticastAddress() {
return ((holder().getAddress() & 0xf0000000) == 0xe0000000);
}
--- 153,163 ----
* Utility routine to check if the InetAddress is an
* IP multicast address. IP multicast address is a Class D
* address i.e first four bits of the address are 1110.
* @return a {@code boolean} indicating if the InetAddress is
* an IP multicast address
! * @since 1.1
*/
public boolean isMulticastAddress() {
return ((holder().getAddress() & 0xf0000000) == 0xe0000000);
}
*** 318,328 ****
/**
* Returns the IP address string in textual presentation form.
*
* @return the raw IP address in a string format.
! * @since JDK1.0.2
*/
public String getHostAddress() {
return numericToTextFormat(getAddress());
}
--- 318,328 ----
/**
* Returns the IP address string in textual presentation form.
*
* @return the raw IP address in a string format.
! * @since 1.0.2
*/
public String getHostAddress() {
return numericToTextFormat(getAddress());
}