Package org.fenixedu.academic.domain.util

Examples of org.fenixedu.academic.domain.util.EmailAddressList.toCollection()


    public int getSentMailsCount() {
        int count = 0;
        for (Email email : getEmailsSet()) {
            final EmailAddressList confirmedAddresses = email.getConfirmedAddresses();
            if (confirmedAddresses != null && !confirmedAddresses.isEmpty()) {
                count += confirmedAddresses.toCollection().size();
            }
        }
        return count;
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.