mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
Merge
This commit is contained in:
commit
4922a35c6a
4 changed files with 19 additions and 8 deletions
|
@ -576,7 +576,13 @@ public final class NetworkInterface {
|
|||
* as this object.
|
||||
* <p>
|
||||
* Two instances of {@code NetworkInterface} represent the same
|
||||
* NetworkInterface if both name and addrs are the same for both.
|
||||
* NetworkInterface if both the name and the set of {@code InetAddress}es
|
||||
* bound to the interfaces are equal.
|
||||
*
|
||||
* @apiNote two {@code NetworkInterface} objects referring to the same
|
||||
* underlying interface may not compare equal if the addresses
|
||||
* of the underlying interface are being dynamically updated by
|
||||
* the system.
|
||||
*
|
||||
* @param obj the object to compare against.
|
||||
* @return {@code true} if the objects are the same;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue