Class Address

    • Constructor Detail

      • Address

        public Address​(URI uri,
                       Address.Description... descriptions)
        Constructs an reachability address.
        Parameters:
        uri - The alternate communications method for reaching the user.
        descriptions - Descriptions of the URI.
    • Method Detail

      • getUri

        public final URI getUri()
        Gets the alternate communications method for reaching the user.
        Returns:
        The URI.
      • getDescriptions

        public final List<Address.Description> getDescriptions()
        Gets the optional descriptions, which describes the URI.
        Returns:
        The descriptions.
        See Also:
        getUri()
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object