void function ( int arg0 , PageText arg1 ) { searchResultCache . put ( arg0 , new WeakReference < PageText > ( arg1 ) ) ; }
add a search result hit for a given page . a page can have 1 or more hits but all that matters is that there is at least one hit to manage . the index and pagetext object is stored in the cache . concode_field_sep HashMap<Integer,WeakReference<PageText>> searchResultCache concode_elem_sep ArrayList<SearchTerm> searchTerms concode_field_sep Set<Integer> getPageSearchHits concode_elem_sep void removeSearchTerm concode_elem_sep ArrayList<SearchTerm> getSearchTerms concode_elem_sep void clearSearchResults concode_elem_sep void clearSearchResults concode_elem_sep boolean isPageSearchHit concode_elem_sep PageText getPageTextHit concode_elem_sep boolean isPageTextMatch concode_elem_sep void addSearchTerm