java.net
public final class Inet4Address extends InetAddress
Method Summary | |
---|---|
boolean | equals(Object obj)
Compare the current Inet4Address instance with obj
|
byte[] | getAddress()
Returns the address of the current instance |
String | getHostAddress()
Returns the address as string
|
int | hashCode()
Computes the hashcode of the instance |
boolean | isAnyLocalAddress()
Checks if this address is a wildcard address
|
boolean | isLinkLocalAddress()
Checks if this address is a link local address
|
boolean | isLoopbackAddress()
Checks if this address is a loopback address |
boolean | isMCGlobal()
Checks if this multicast address has global scope
|
boolean | isMCLinkLocal()
Checks if this multicast address has link scope
|
boolean | isMCNodeLocal()
Checks if this multicast address has node scope
|
boolean | isMCOrgLocal()
Checks if this multicast address has organization scope
|
boolean | isMCSiteLocal()
Checks if this multicast address has site scope
|
boolean | isMulticastAddress()
Checks if the address is a multicast address
|
boolean | isSiteLocalAddress()
Checks if this address is a site local address
|
Parameters: obj Object to compare with
Since: 1.0.2
Since: 1.4
Since: 1.4
Since: 1.4
Since: 1.4
Since: 1.4
Since: 1.4
Since: 1.4
Since: 1.1
Since: 1.4