Examples of find()


Examples of net.sf.saxon.om.DocumentPool.find()

            String documentKey = Document.computeDocumentKey(href, expressionBaseURI, context);
            DocumentPool pool = context.getController().getDocumentPool();
            if (pool.isMarkedUnavailable(documentKey)) {
                return false;
            }
            DocumentInfo doc = pool.find(documentKey);
            if (doc != null) {
                return true;
            }
            Item item = Document.makeDoc(href, expressionBaseURI, context, this);
            if (item != null) {
View Full Code Here

Examples of net.sf.saxon.sort.IntToIntHashMap.find()

        int[] a1 = arg1.expand();
        int[] a2 = arg2.expand();
        IntToIntMap map = new IntToIntHashMap(a1.length, 0.5);
            // allow plenty of free space, it's better for lookups (though worse for iteration)
        for (int i=0; i<a1.length; i++) {
            if (map.find(a1[i])) {
                // no action: duplicate
            } else {
                map.put(a1[i], (i>a2.length-1 ? -1 : a2[i]));
            }
        }
View Full Code Here

Examples of net.sf.saxon.sort.IntToIntMap.find()

        int[] a1 = arg1.expand();
        int[] a2 = arg2.expand();
        IntToIntMap map = new IntToIntHashMap(a1.length, 0.5);
            // allow plenty of free space, it's better for lookups (though worse for iteration)
        for (int i=0; i<a1.length; i++) {
            if (map.find(a1[i])) {
                // no action: duplicate
            } else {
                map.put(a1[i], (i>a2.length-1 ? -1 : a2[i]));
            }
        }
View Full Code Here

Examples of net.sourceforge.barcodegen.model.Model.find()

    showProgress("Consultando...");
    table.setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR));
   
    try{
      conditions = conditions.trim().length() > 0 ? conditions : "id=id";
      ResultSet rs = strip.find(conditions + " order by fecha desc");
      int recordCount = 0;

      while (rs.next()){
       
        ResultSet list = Main.lista.find("id=" + rs.getString("lista_id"));
View Full Code Here

Examples of net.sourceforge.segment.srx.RuleMatcher.find()

  }
 
  private void initMatchers() {
    for (Iterator<RuleMatcher> i = ruleMatcherList.iterator(); i.hasNext();) {
      RuleMatcher matcher = i.next();
      matcher.find();
      if (matcher.hitEnd()) {
        i.remove();
      }
    }
  }
View Full Code Here

Examples of net.sourceforge.temply.base.VarExpressionFinder.find()

        _gse.run(script, binding);

        String text = template.getText();

        VarExpressionFinder finder = new VarExpressionFinder(_repository);
        for (VarExpression varExp : finder.find(text)) {
            text = finder.replace(text, varExp, resolver.resolve(varExp.toString()));
        }
       
        Collection<VarExpression> unresolvedExpressions = finder.find(text);
        if (!unresolvedExpressions.isEmpty()) {
View Full Code Here

Examples of nexj.core.util.MIMEHeaderMap.find()

                     {
                        tobj.setValue(MESSAGE, sMessage);
                     }

                     MIMEHeaderMap headerMap = m_client.getResponseHeaders();
                     String sEncoding = getEncoding(headerMap.find(HTTP.HEADER_CONTENT_TYPE), null);

                     if (sEncoding == null)
                     {
                        sEncoding = getEncoding(m_channel.getContentType(), DEFAULT_ENCODING);
                     }
View Full Code Here

Examples of npanday.registry.DataAccessObjectRegistry.find()

            catch( NPandayArtifactResolutionException e )
            {
                throw new MojoExecutionException( e.getMessage(), e );
            }

            ProjectDao dao = (ProjectDao) daoRegistry.find( "dao:project" );
            dao.openConnection();
            Project project;

            try
            {
View Full Code Here

Examples of npanday.registry.RepositoryRegistry.find()

        {
            throw new MojoExecutionException(
                "NPANDAY-1600-007: Failed to create the repository registry for this plugin", e );
        }

        NetDependenciesRepository netRepository = (NetDependenciesRepository) repositoryRegistry.find(
            "net-dependencies" );

        artifactContext.init( null, mavenProject.getRemoteArtifactRepositories(), new File( localRepository ) );
        Map<String, ArtifactHandler> map = new HashMap<String, ArtifactHandler>();
View Full Code Here

Examples of opennlp.tools.entitylinker.EntityLinker.find()

             
              sentences[i] = new Span(sentenceBegin, text.length());
              text.append("\n");
            }

            List<Span> linkedSpans = entityLinker.find(text.toString(), sentences, tokensBySentence, namesBySentence);

            for (int i = 0; i < linkedSpans.size(); i++) {
              System.out.println(linkedSpans.get(i));
            }
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.