Class AddressList

    • Constructor Detail

      • AddressList

        public AddressList()
        Default constructor.
      • AddressList

        public AddressList​(String aValue)
                    throws URISyntaxException
        Parses the specified string representation to create a list of addresses.
        Parameters:
        aValue - a string representation of a list of addresses
        Throws:
        URISyntaxException - where the specified string is not a valid representation
    • Method Detail

      • add

        public final boolean add​(URI address)
        Add an address to the list.
        Parameters:
        address - the address to add
        Returns:
        true
        See Also:
        List.add(java.lang.Object)
      • isEmpty

        public final boolean isEmpty()
        Returns:
        boolean indicates if the list is empty
        See Also:
        List.isEmpty()
      • remove

        public final boolean remove​(URI address)
        Remove an address from the list.
        Parameters:
        address - the address to remove
        Returns:
        true if the list contained the specified address
        See Also:
        List.remove(java.lang.Object)
      • size

        public final int size()
        Returns:
        the number of addresses in the list
        See Also:
        List.size()