Java Stream Api INNER JOIN Two Lists
<p>How to replace this code with using Java Stream Api?</p>

<pre><code>for (Book book : Books.getAllBooks()) {
        for (SearchResult searchResult : searchResultList) {
          if (searchResult.getTableName().replace("attr_", "") .equals(book.getTableName())) {
            bookList.add(book);
          }
        }
      }
</code></pre>