Class Addresses

All Implemented Interfaces:
Serializable, Cloneable, Iterable<Address>, Collection<Address>, List<Address>, RandomAccess, SequencedCollection<Address>

public class Addresses extends ArrayList<Address>
This class manages a list of Address
See Also:
  • Constructor Details

    • Addresses

      public Addresses()
      Empty constructor
    • Addresses

      public Addresses(Addresses aa)
      Constructor for Addresses
      Parameters:
      aa - The Addresses
  • Method Details

    • set

      public void set(Address a)
      Sets the Address in the list
      Parameters:
      a - The Address to set
    • setAll

      public void setAll(Addresses aa)
      Sets all the Addresses
      Parameters:
      aa - The Addresses to set
    • getAddress

      public Address getAddress(int i)
      Returns the Address in the specified position
      Parameters:
      i - The position of the Address
      Returns:
      The Address in the specified position
    • toString

      public String toString(String delim)
      Returns a string with all the Address separated by the delimitator
      Parameters:
      delim - The delimitator
      Returns:
      A string with all the Address separated by the delimitator
    • toHtml

      public String toHtml(String delim)
      Returns an html string with all the Address
      Parameters:
      delim - The delimitator
      Returns:
      An html string with all the Address
    • toDBView

      protected DBView toDBView()
    • toInternetAddresses

      public Address[] toInternetAddresses(String charset)
      Returns an array of Address
      Parameters:
      charset - The charset
      Returns:
      An array of Address
    • sameAddresses

      public boolean sameAddresses(Object o)
      Returns true if they have the same addresses, false otherwise
      Parameters:
      o - The object to compare
      Returns:
      true if they have the same addresses, false otherwise