java.net
Class Inet4Address
java.lang.Object
|
+--java.net.InetAddress
|
+--java.net.Inet4Address
Author:Inet4Address
protected Inet4Address(byte[] addr, java.lang.String host)
Creates a Inet4Address
Parameters:
equals
public boolean equals(java.lang.Object obj)
Compare the current Inet4Address instance with obj
Parameters:
getAddress
public byte[] getAddress()
Returns the address of the current instance
getHostAddress
public String getHostAddress()
Returns the address as string
Since:
hashCode
public int hashCode()
Computes the hashcode of the instance
isAnyLocalAddress
public boolean isAnyLocalAddress()
Checks if this address is a wildcard address
Since:
isLinkLocalAddress
public boolean isLinkLocalAddress()
Checks if this address is a link local address
Since:
isLoopbackAddress
public boolean isLoopbackAddress()
Checks if this address is a loopback address
isMCGlobal
public boolean isMCGlobal()
Checks if this multicast address has global scope
Since:
isMCLinkLocal
public boolean isMCLinkLocal()
Checks if this multicast address has link scope
Since:
isMCNodeLocal
public boolean isMCNodeLocal()
Checks if this multicast address has node scope
Since:
isMCOrgLocal
public boolean isMCOrgLocal()
Checks if this multicast address has organization scope
Since:
isMCSiteLocal
public boolean isMCSiteLocal()
Checks if this multicast address has site scope
Since:
isMulticastAddress
public boolean isMulticastAddress()
Checks if the address is a multicast address
Since:
isSiteLocalAddress
public boolean isSiteLocalAddress()
Checks if this address is a site local address
Since: