## Uses of Class
net.i2p.util.AddressType

- Packages that use AddressType
  Package | Description
  --- | ---
  net.i2p.router.transport | Transport layer implementations and management for I2P network communication.
  net.i2p.util | Core utility classes and helper functions used throughout the I2P router and applications.

- - ### Uses of AddressType in net.i2p.router.transport

    Methods in net.i2p.router.transport that return AddressType
    Modifier and Type | Method and Description
    --- | ---
    `static AddressType` | TransportUtil.`getType(byte[] ip)`
    `static AddressType` | TransportUtil.`getType(RouterAddress addr)`
    `static AddressType` | TransportUtil.`getType(String host)`

  - ### Uses of AddressType in net.i2p.util

    Methods in net.i2p.util that return AddressType
    Modifier and Type | Method and Description
    --- | ---
    `static AddressType` | AddressType.`valueOf(String name)` Returns the enum constant of this type with the specified name.
    `static AddressType[]` | AddressType.`values()` Returns an array containing the constants of this enum type, in the order they are declared.

    Methods in net.i2p.util that return types with arguments of type AddressType
    Modifier and Type | Method and Description
    --- | ---
    `static Set<AddressType>` | Addresses.`getConnectedAddressTypes()` Efficiently get all connected address types in one pass.

    Methods in net.i2p.util with parameters of type AddressType
    Modifier and Type | Method and Description
    --- | ---
    `static boolean` | Addresses.`isConnected(AddressType type)` Do we have any address of this type? Use getConnectedAddressTypes() to get all types at once for better performance.