59 |
this.inetAddresses.add (address); |
this.inetAddresses.add (address); |
60 |
} |
} |
61 |
|
|
62 |
private static Vector getRealNetworkInterfaces () |
private native static Vector getRealNetworkInterfaces () |
63 |
throws SocketException |
throws SocketException; |
|
{ |
|
|
throw new InternalError ( |
|
|
"NetworkInterface::getRealNetworkInterfaces not implemented"); |
|
|
} |
|
64 |
|
|
65 |
/** |
/** |
66 |
* Returns the name of the network interface |
* Returns the name of the network interface |
201 |
|
|
202 |
NetworkInterface tmp = (NetworkInterface) obj; |
NetworkInterface tmp = (NetworkInterface) obj; |
203 |
return (name.equals (tmp.name) |
return (name.equals (tmp.name) |
204 |
&& inetAddresses.equals (tmp.inetAddresses)); |
&& inetAddresses.equals (tmp.inetAddresses)); |
205 |
} |
} |
206 |
|
|
207 |
/** |
/** |