question: public List < Page > relevantPages ( String query ) { List < Page > relevantPages = new ArrayList < Page > ( ) ; for ( Page p : pTable . values ( ) ) { if ( matches ( query , p . getContent ( ) ) ) { relevantPages . add ( p ) ; } } return relevantPages ; }
target:  Fetches and returns all pages that match the query