code: public List<Entry> getEntriesByTitle(final String title, final boolean matchExactly) {
          List<Entry> allEntries = new ArrayList<Entry>();
  
          if (root != null) {
              getEntries(root, allEntries);
          }
  
          return ListFilter.filter(allEntries, new Filter<Entry>() {
  
              @Override
              public boolean matches(Entry item) {
                  if (matchExactly) {
                      if (item.getTitle() != null && item.getTitle().equalsIgnoreCase(title)) {
                          return true;
                      }
                  } else {
                      if (item.getTitle() != null && item.getTitle().toLowerCase().contains(title.toLowerCase())) {
                          return true;
                      }
                  }
  
                  return false;
              }
  
          });
      }
docs: Retrieves a list of entries with matching titles.
  <p>
  If the <tt>matchExactly</tt> flag is true, only entries which have an
  exactly matching title will be returned, otherwise all entries which
  contain the given title will be returned.
  
  @param title
  the title which should be searched
  @param matchExactly
  if true only entries which have an exactly matching title will
  be returned
  @return a list of entries with matching titles
  @see Entry