src/main/java/board/View.java
public List<Note> notes(Topic topic) {
    var notes = new ArrayList<Note>();
    for (var note : unfilteredNotes(topic)) {
      Predicate<Filter> match = f -> note.content().contains(f.term());
      if (filters.stream().allMatch(match)) {
        notes.add(note);
      }
    }
    return notes;
  }
/** notes from the View's Board. */
notes from the View's Board.
notes from the View ' s Board .
public List<Note> notes(Topic topic) {
    var notes = new ArrayList<Note>();
    for (var note : unfilteredNotes(topic)) {
      Predicate<Filter> match = f -> note.content().contains(f.term());
      if (filters.stream().allMatch(match)) {
        notes.add(note);
      }
    }
    return notes;
  }
public List < Note > notes ( Topic topic ) { var notes = new ArrayList < Note > ( ) ; for ( var note : unfilteredNotes ( topic ) ) { Predicate < Filter > match = f -> note . content ( ) . contains ( f . term ( ) ) ; if ( filters . stream ( ) . allMatch ( match ) ) { notes . add ( note ) ; } } return notes ; }
notes from the View's Board.
notes from the View ' s Board .