Skip to content

Commit

Permalink
Improve class level description again
Browse files Browse the repository at this point in the history
  • Loading branch information
dfuch committed Sep 2, 2024
1 parent 5ce21bc commit 74e32e0
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions src/java.base/share/classes/java/net/NetworkInterface.java
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,15 @@
* A Network Interface is the point of interconnection
* between a computer and a private or public network.
* A Network Interface can be physical or logical.
* Network Interfaces are normally known by names such as "le0",
* have an index, a (possibly empty) set of {@linkplain InterfaceAddress
* MAC addresses}, and a (possibly empty) set of {@linkplain
* InetAddress IP addresses} bound to that interface.
* Network Interfaces, and in particular their list of assigned IP addresses,
* can be reconfigured dynamically by the underlying system at any
* time during the life of the JVM.
* A network interface has a name, an index, zero or more assigned
* {@inkplain InetAddress IP addresses}, and zero or more {@linkplain
* InterfaceAddress MAC Addresses}. The name is highly platform
* specific but a name such as "le0" is typical;
* it may not be unique. The index is a highly platform
* specific number that identifies the interface. The network
* configuration may change during the life-time of the JVM:
* typically, the set of IP addresses assigned to a network
* interface may change.
* <p>
* When obtaining a {@code NetworkInterface} instance, part of its
* configuration (such as its name and the list of assigned IP addresses),
Expand All @@ -57,8 +59,6 @@
* Network interface instances are typically used to identify the local
* interface on which a multicast group is joined.
*
*
*
* @since 1.4
*/
public final class NetworkInterface {
Expand Down

0 comments on commit 74e32e0

Please sign in to comment.