public static NSArray convertInternetAddressesToNSArray (Address [] addressesArray) throws AddressException {
public static NSArray convertInternetAddressesToNSArray (Address [] addressesArray) {
    public static NSArray convertInternetAddressesToNSArray (Address [] addressesArray)        throws AddressException {            if( addressesArray == null) return NSArray.EmptyArray;        NSMutableArray addresses = new NSMutableArray (addressesArray.length);        for (int i = 0 ; i < addressesArray.length ; i++) {            Address anAddress = addressesArray[i];            String emailAddress = null;            if (anAddress instanceof InternetAddress)                 emailAddress = ((InternetAddress) anAddress).toUnicodeString ();            else  // anAddress will be a instance of Address                emailAddress = anAddress.toString ();            addresses.addObject (emailAddress);        }        return addresses;    }