/** * Add results to the total results, * this will not allow adding results beyond the totalItemsMatched (max) number * * @param steepleItem the result to add * @return true if the item was added OR false if it was null or the max number is already added */ public boolean addResult(SearchContent content) { boolean added = false; if (content != null) { SearchResult sr = new SearchResult(content); added = addResult(sr); } return added; }