jodd-mail/src/main/java/jodd/mail/EmailAddress.java
public static EmailAddress[] of(final Address... addresses) {
		if (addresses == null) {
			return EmailAddress.EMPTY_ARRAY;
		}
		if (addresses.length == 0) {
			return EmailAddress.EMPTY_ARRAY;
		}

		final EmailAddress[] res = new EmailAddress[addresses.length];

		for (int i = 0; i < addresses.length; i++) {
			res[i] = EmailAddress.of(addresses[i]);
		}

		return res;
	}
public static EmailAddress[] of(final Address... addresses) {
		if (addresses == null) {
			return EmailAddress.EMPTY_ARRAY;
		}
		if (addresses.length == 0) {
			return EmailAddress.EMPTY_ARRAY;
		}

		final EmailAddress[] res = new EmailAddress[addresses.length];

		for (int i = 0; i < addresses.length; i++) {
			res[i] = EmailAddress.of(addresses[i]);
		}

		return res;
	}
public static EmailAddress [ ] of ( final Address ... addresses ) { if ( addresses == null ) { return EmailAddress . EMPTY_ARRAY ; } if ( addresses . length == 0 ) { return EmailAddress . EMPTY_ARRAY ; } final EmailAddress [ ] res = new EmailAddress [ addresses . length ] ; for ( int i = 0 ; i < addresses . length ; i ++ ) { res [ i ] = EmailAddress . of ( addresses [ i ] ) ; } return res ; }
Converts array of {@link Address} to {@link EmailAddress}.

@param addresses array of {@link Address}es to convert.
@return an array of {@link EmailAddress}.
Converts array of { @link Address } to { @link EmailAddress } .