src/main/java/seedu/address/model/AddressBook.java
public void resetData(ReadOnlyAddressBook newData) {
        requireNonNull(newData);

        setPersons(newData.getPersonList());
        setApplicants(newData.getApplicantList());
        setJobs(newData.getJobList());
        this.idCount = newData.getIdCount();

    }
/**
     * Resets the existing data of this {@code AddressBook} with {@code newData}.
     */
Resets the existing data of this  AddressBook with  newData.
Resets the existing data of this AddressBook with newData .
public void resetData(ReadOnlyAddressBook newData) {
        requireNonNull(newData);
        setPersons(newData.getPersonList());
        setApplicants(newData.getApplicantList());
        setJobs(newData.getJobList());
        this.idCount = newData.getIdCount();
    }
public void resetData ( ReadOnlyAddressBook newData ) { requireNonNull ( newData ) ; setPersons ( newData . getPersonList ( ) ) ; setApplicants ( newData . getApplicantList ( ) ) ; setJobs ( newData . getJobList ( ) ) ; this . idCount = newData . getIdCount ( ) ; }
Resets the existing data of this {@code AddressBook} with {@code newData}.
Resets the existing data of this { @code AddressBook } with { @code newData } .