src/main/java/seedu/address/model/modelGeneric/UniqueList.java
public void remove(K toRemove) {
        requireNonNull(toRemove);
        if (!internalList.remove(toRemove)) {
            throw toRemove.getNotFoundException();
        }
    }
/**
     * Removes the equivalent object from the list. The object must exist in the list.
     */
Removes the equivalent object from the list. The object must exist in the list.
Removes the equivalent object from the list . The object must exist in the list .
public void remove(K toRemove) {
        requireNonNull(toRemove);
        if (!internalList.remove(toRemove)) {
            throw toRemove.getNotFoundException();
        }
    }
public void remove ( K toRemove ) { requireNonNull ( toRemove ) ; if ( ! internalList . remove ( toRemove ) ) { throw toRemove . getNotFoundException ( ) ; } }
Removes the equivalent object from the list.
Removes the equivalent object from the list .