|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.net.InetAddress
java.net.Inet4Address
public final class Inet4Address
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 |
Methods inherited from class java.net.InetAddress |
---|
getAllByName, getByAddress, getByAddress, getByName, getCanonicalHostName, getHostName, getLocalHost, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public boolean isMulticastAddress()
isMulticastAddress
in class InetAddress
public boolean isLoopbackAddress()
isLoopbackAddress
in class InetAddress
public boolean isAnyLocalAddress()
isAnyLocalAddress
in class InetAddress
public boolean isLinkLocalAddress()
isLinkLocalAddress
in class InetAddress
public boolean isSiteLocalAddress()
isSiteLocalAddress
in class InetAddress
public boolean isMCGlobal()
isMCGlobal
in class InetAddress
public boolean isMCNodeLocal()
isMCNodeLocal
in class InetAddress
public boolean isMCLinkLocal()
isMCLinkLocal
in class InetAddress
public boolean isMCSiteLocal()
isMCSiteLocal
in class InetAddress
public boolean isMCOrgLocal()
isMCOrgLocal
in class InetAddress
public byte[] getAddress()
getAddress
in class InetAddress
public String getHostAddress()
getHostAddress
in class InetAddress
public int hashCode()
hashCode
in class InetAddress
Object.equals(Object)
,
System.identityHashCode(Object)
public boolean equals(Object obj)
equals
in class InetAddress
obj
- Object to compare with
Object.hashCode()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |