Package org.cipres.treebase.domain.search

Examples of org.cipres.treebase.domain.search.TreeSearchResults.intersect()


    if (newRes == null || newRes.isEmpty()) {
      addMessage(request, "No matching trees found");
    } else {
      if (oldRes == null) {
        oldRes = new TreeSearchResults(newRes);
      } else { oldRes.intersect(newRes); }
    }
    saveSearchResults(request, oldRes);
    LOGGER.info("doSearch '" + searchType + "' after intersection: " + oldRes.size() + " result(s)");

    return new ModelAndView("search/treeTopSearch", Constants.RESULT_SET, oldRes);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.