src/main/java/seedu/address/model/ModelManager.java
@Override
    public void addAtIndex(ModelObject obj, Integer index) throws CommandException {
        getAddressBook(obj).addAtIndex(obj, index);
        getFilterList(obj).setPredicate(getPredicateAll(obj));
        postDataStorageChangeEvent(getReadOnlyAddressBook(obj), getEntityType(obj));
    }
/**
     * Add an object to address book at given index.
     */
Add an object to address book at given index.
Add an object to address book at given index .
@Override
    public void addAtIndex(ModelObject obj, Integer index) throws CommandException {
        getAddressBook(obj).addAtIndex(obj, index);
        getFilterList(obj).setPredicate(getPredicateAll(obj));
        postDataStorageChangeEvent(getReadOnlyAddressBook(obj), getEntityType(obj));
    }
@ Override public void addAtIndex ( ModelObject obj , Integer index ) throws CommandException { getAddressBook ( obj ) . addAtIndex ( obj , index ) ; getFilterList ( obj ) . setPredicate ( getPredicateAll ( obj ) ) ; postDataStorageChangeEvent ( getReadOnlyAddressBook ( obj ) , getEntityType ( obj ) ) ; }
Add an object to address book at given index.
Add an object to address book at given index .