Module java.base
Package java.net

# Class InetAddress

=
public sealed class InetAddress
extends java.lang.Object
implements java.io.Serializable
permits java.net.Inet4Address, java.net.Inet6Address

## Methods

- =
  public boolean equals(java.lang.Object arg0)
- =
  public byte[] getAddress()
- =
  public static java.net.InetAddress[] getAllByName(java.lang.String arg0) throws java.net.UnknownHostException
- =
  public static java.net.InetAddress getByAddress(byte[] arg0) throws java.net.UnknownHostException
- =
  public static java.net.InetAddress getByAddress(java.lang.String arg0, byte[] arg1) throws java.net.UnknownHostException
- =
  public static java.net.InetAddress getByName(java.lang.String arg0) throws java.net.UnknownHostException
- =
  public java.lang.String getCanonicalHostName()
- =
  public java.lang.String getHostAddress()
- =
  public java.lang.String getHostName()
- =
  public static java.net.InetAddress getLocalHost() throws java.net.UnknownHostException
- =
  public static java.net.InetAddress getLoopbackAddress()
- =
  public int hashCode()
- =
  public boolean isAnyLocalAddress()
- =
  public boolean isLinkLocalAddress()
- =
  public boolean isLoopbackAddress()
- =
  public boolean isMCGlobal()
- =
  public boolean isMCLinkLocal()
- =
  public boolean isMCNodeLocal()
- =
  public boolean isMCOrgLocal()
- =
  public boolean isMCSiteLocal()
- =
  public boolean isMulticastAddress()
- =
  public boolean isReachable(int arg0) throws java.io.IOException
- =
  public boolean isReachable(java.net.NetworkInterface arg0, int arg1, int arg2) throws java.io.IOException
- =
  public boolean isSiteLocalAddress()
- =
  public static java.net.InetAddress ofLiteral(java.lang.String arg0)
- =
  public java.lang.String toString()

## Serialized Form

=

### serialVersionUID

=3286316764910316507

### Serialization Methods

- =
  private void readObject(java.io.ObjectInputStream arg0) throws java.io.IOException, java.lang.ClassNotFoundException
- =
  private java.lang.Object readResolve() throws java.io.ObjectStreamException
- =
  private void writeObject(java.io.ObjectOutputStream arg0) throws java.io.IOException

## Summary

No differences.