All Implemented Interfaces:
Serializable, Comparable<AddressType>, java.lang.constant.Constable

public enum AddressTypeextends Enum<AddressType>
Enumeration of supported address types.
  • Enum Constant Details

    • IPV4

      public static final AddressType IPV4
      IPv4 address type.
    • IPV6

      public static final AddressType IPV6
      IPv6 address type.
    • YGG

      public static final AddressType YGG
      Yggdrasil address type.
  • Constructor Details

    • AddressType

      private AddressType()
  • Method Details

    • values

      public static AddressType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static AddressType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null