src/main/java/seedu/address/logic/parser/parserFind/FindAssignmentCommandParser.java
public FindAssignmentCommand parse(String args) throws ParseException {
        String trimmedArgs = args.trim();
        if (trimmedArgs.isEmpty()) {
            throw new ParseException(
                    String.format(MESSAGE_INVALID_COMMAND_FORMAT, FindAssignmentCommand.MESSAGE_USAGE));
        }

        String[] nameKeywords = trimmedArgs.split("\\s+");

        return new FindAssignmentCommand(
                new AssignmentNameContainsKeywordsPredicate(Arrays.asList(nameKeywords)));
    }
/**
     * Parses the given {@code String} of arguments in the context of the FindCommand and returns a
     * FindCommand object for execution.
     *
     * @throws ParseException if the user input does not conform the expected format
     */
Parses the given  String of arguments in the context of the FindCommand and returns a
FindCommand object for execution.

@throws ParseException if the user input does not conform the expected format
Parses the given String of arguments in the context of the FindCommand and returns a FindCommand object for execution . @throws ParseException if the user input does not conform the expected format
public FindAssignmentCommand parse(String args) throws ParseException {
        String trimmedArgs = args.trim();
        if (trimmedArgs.isEmpty()) {
            throw new ParseException(
                    String.format(MESSAGE_INVALID_COMMAND_FORMAT, FindAssignmentCommand.MESSAGE_USAGE));
        }
        String[] nameKeywords = trimmedArgs.split("\\s+");
        return new FindAssignmentCommand(
                new AssignmentNameContainsKeywordsPredicate(Arrays.asList(nameKeywords)));
    }
public FindAssignmentCommand parse ( String args ) throws ParseException { String trimmedArgs = args . trim ( ) ; if ( trimmedArgs . isEmpty ( ) ) { throw new ParseException ( String . format ( MESSAGE_INVALID_COMMAND_FORMAT , FindAssignmentCommand . MESSAGE_USAGE ) ) ; } String [ ] nameKeywords = trimmedArgs . split ( "\\s+" ) ; return new FindAssignmentCommand ( new AssignmentNameContainsKeywordsPredicate ( Arrays . asList ( nameKeywords ) ) ) ; }
Parses the given {@code String} of arguments in the context of the FindCommand and returns a
 FindCommand object for execution.
Parses the given { @code String } of arguments in the context of the FindCommand and returns a FindCommand object for execution .