Examples of search()


Examples of edu.pitt.terminology.Terminology.search()

    System.out.println("--");
    // do search
    long time = System.currentTimeMillis();
    for(String text: new String [] {"blue tumor"}){
      System.out.println("searching for: "+text);
      for(Concept c: term.search(text)){
        System.out.println(c.getCode()+" "+c.getName());
        c.initialize();
        c.printInfo(System.out);
        System.out.println(c.getCodes());
      }

Examples of edu.pitt.terminology.client.IndexFinderTerminology.search()

    Terminology terminology = new IndexFinderTerminology("TIES_Pathology");
    //Terminology terminology = new IndexFinderTerminology("NCI_Thesaurus");
    PathHelper ph = new PathHelper(terminology);
    //ph.createAncestryCache();
    for(String text: Arrays.asList("melanoma","nevus","skin","margin")){
      for(Concept c: terminology.search(text)){
        long t = System.currentTimeMillis();
        // lookup paths
       
        List<ConceptPath> path = ph.getPaths(c);
        t = System.currentTimeMillis()-t;

Examples of edu.stanford.bmir.protege.web.client.ui.search.SearchUtil.search()

            public void onSpecialKey(final Field field, final EventObject e) {
                if (e.getKey() == EventObject.ENTER) {
                    SearchUtil searchUtil = new SearchUtil(getProjectId(), ClassTreePortlet.this, getSearchAsyncCallback());
                    searchUtil.setBusyComponent(searchField);
                    searchUtil.setSearchedValueType(ValueType.Cls);
                    searchUtil.search(searchField.getText());
                }
            }
        });
        return searchField;
    }

Examples of edu.umd.cs.findbugs.ba.DepthFirstSearch.search()

        // If the CFG changed as a result of pruning, purge all analysis results
        // for the method.
        if (changed) {

            DepthFirstSearch dfs = new DepthFirstSearch(cfg);
            dfs.search();
            Collection<BasicBlock> unreachable = dfs.unvisitedVertices();
            if (!unreachable.isEmpty()) {
                if (DEBUG_CFG) {
                    System.out.println("Unreachable blocks");
                }

Examples of edu.umd.cs.findbugs.ba.ReverseDepthFirstSearch.search()

    @Override
    public ReverseDepthFirstSearch analyze(IAnalysisCache analysisCache, MethodDescriptor descriptor)
            throws CheckedAnalysisException {
        CFG cfg = getCFG(analysisCache, descriptor);
        ReverseDepthFirstSearch rdfs = new ReverseDepthFirstSearch(cfg);
        rdfs.search();
        return rdfs;
    }
}

Examples of fitnesse.wiki.search.AttributeWikiPageFinder.search()

      return;
    }

    PageFinder finder = new AttributeWikiPageFinder(observer, pageTypes,
        attributes, suites);
    finder.search(page);
  }

}

Examples of fitnesse.wiki.search.PageFinder.search()

    String searchString = getSearchString();
    String replacementString = getReplacementString();

    contentReplaceObserver = new ContentReplacingSearchObserver(searchString, replacementString);
    PageFinder finder = new RegularExpressionWikiPageFinder(searchString, this);
    finder.search(page);
  }

}

Examples of fitnesse.wiki.search.RegularExpressionWikiPageFinder.search()

    String searchString = getSearchString();
    String replacementString = getReplacementString();

    contentReplaceObserver = new ContentReplacingSearchObserver(searchString, replacementString);
    PageFinder finder = new RegularExpressionWikiPageFinder(searchString, this);
    finder.search(page);
  }

}

Examples of fitnesse.wiki.search.SuiteSpecificationMatchFinder.search()

  }

                                                                                             
  public void findPageMatches() {
    SuiteSpecificationMatchFinder finder = new SuiteSpecificationMatchFinder(titleRegEx, contentRegEx, this);
    finder.search(searchRoot);
  }


  public boolean getPageListFromPageContent(String pageContent) {
    HtmlTableScanner scanner = new HtmlTableScanner(pageContent);

Examples of fr.inra.lipm.jezlucene.action.Search.search()

            indexer.index();
        }
        else if (args[0].equalsIgnoreCase("search")) {
            final Search searcher = new Search();
            main.parseParameters(searcher, parameters);
            System.out.println(searcher.search());
        }
        else if (args[0].equalsIgnoreCase("remove")) {
            final Remove remove = new Remove();
            main.parseParameters(remove, parameters);
            remove.remove();
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.