src/main/java/seedu/address/model/modelGeneric/AddressBookGeneric.java
public void resetData(ReadOnlyAddressBookGeneric<K> newData) {
        requireNonNull(newData);

        set(newData.getList());
    }
/**
     * 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(ReadOnlyAddressBookGeneric<K> newData) {
        requireNonNull(newData);
        set(newData.getList());
    }
public void resetData ( ReadOnlyAddressBookGeneric < K > newData ) { requireNonNull ( newData ) ; set ( newData . getList ( ) ) ; }
Resets the existing data of this {@code AddressBook} with {@code newData}.
Resets the existing data of this { @code AddressBook } with { @code newData } .