src/main/java/seedu/address/model/applicant/UniqueApplicantList.java
private boolean applicantAreUnique(List<Applicant> applicants) {
        for (int i = 0; i < applicants.size() - 1; i++) {
            for (int j = i + 1; j < applicants.size(); j++) {
                if (applicants.get(i).isSameApplicant(applicants.get(j))) {
                    return false;
                }
            }
        }
        return true;

    }
/**
     * Returns true if {@code applicants} contains only unique applicants.
     */
Returns true if  applicants contains only unique applicants.
Returns true if applicants contains only unique applicants .
private boolean applicantAreUnique(List<Applicant> applicants) {
        for (int i = 0; i < applicants.size() - 1; i++) {
            for (int j = i + 1; j < applicants.size(); j++) {
                if (applicants.get(i).isSameApplicant(applicants.get(j))) {
                    return false;
                }
            }
        }
        return true;
    }
private boolean applicantAreUnique ( List < Applicant > applicants ) { for ( int i = 0 ; i < applicants . size ( ) - 1 ; i ++ ) { for ( int j = i + 1 ; j < applicants . size ( ) ; j ++ ) { if ( applicants . get ( i ) . isSameApplicant ( applicants . get ( j ) ) ) { return false ; } } } return true ; }
Returns true if {@code applicants} contains only unique applicants.
Returns true if { @code applicants } contains only unique applicants .