search/indexer/mmm-search-indexer-api/src/main/java/net/sf/mmm/search/indexer/base/AbstractSearchIndexer.java
/**
   * This method removes all {@link SearchResultPage#getPageHit(int) hits} of
   * the given {@link SearchResultPage}.
   * 
   * @param page is the {@link SearchResultPage} to delete.
   * @return the value of {@link SearchResultPage#getPageCount()}.
   */
This method removes all  SearchResultPage#getPageHit(int) hits of
the given  SearchResultPage.

@param page is the  SearchResultPage to delete.
This method removes all SearchResultPage#getPageHit ( int ) hits of the given SearchResultPage . @param page is the SearchResultPage to delete .
protected int remove(SearchResultPage page) {
    NlsNullPointerException.checkNotNull(SearchResultPage.class, page);
    int pageCount = page.getPageCount();
    for (int i = 0; i < pageCount; i++) {
      remove(page.getPageHit(i));
    }
    return pageCount;
  }
protected int remove ( SearchResultPage page ) { NlsNullPointerException . checkNotNull ( SearchResultPage . class , page ) ; int pageCount = page . getPageCount ( ) ; for ( int i = 0 ; i < pageCount ; i ++ ) { remove ( page . getPageHit ( i ) ) ; } return pageCount ; }
This method removes all {@link SearchResultPage#getPageHit(int) hits} of
 the given {@link SearchResultPage}.
This method removes all { @link SearchResultPage#getPageHit ( int ) hits } of the given { @link SearchResultPage } .