Examples of find()


Examples of com.wiieditor.wiimote.WiiMoteController.find()

            System.out.print(d[i]+",");
        }
        System.out.println();
        System.out.println(DataInterpolator.convertNeuronDoubleArrToChar(d));*/
        WiiMoteController wiimoteController=WiiMoteController.createWiiMoteController();
        wiimoteController.find();
        wiimoteController.startListening();
       
        ConverterApp.launch(ConverterApp.class, args);
        /*NeuralNetworkWrapper net=new NeuralNetworkWrapper(2, 1);
        net.learn(new NeuralData(new double[]{0,0}, new double[]{0}));
View Full Code Here

Examples of com.xiaoleilu.hutool.db.Session.find()

      // 改,生成SQL为 UPDATE `table_name` SET `字段1` = ?, `字段2` = ? WHERE `条件1` = ?
      session.update(entity, where);

      // 查,生成SQL为 SELECT * FROM `table_name` WHERE WHERE `条件1` = ? 第一个参数为返回的字段列表,如果null则返回所有字段
      List<Entity> entityList = session.find(null, where, new EntityHandler());
      log.info("{}", entityList);

      // 分页,注意,ANSI SQL中不支持分页!
      List<Entity> pagedEntityList = session.page(null, where, 0, 20, new EntityHandler());
      log.info("{}", pagedEntityList);
View Full Code Here

Examples of com.xiaoleilu.hutool.db.SqlRunner.find()

      // 改,生成SQL为 UPDATE `table_name` SET `字段1` = ?, `字段2` = ? WHERE `条件1` = ?
      runner.update(entity, where);

      // 查,生成SQL为 SELECT * FROM `table_name` WHERE WHERE `条件1` = ? 第一个参数为返回的字段列表,如果null则返回所有字段
      List<Entity> entityList = runner.find(null, where, new EntityHandler());
      log.info("{}", entityList);

      // 分页,注意,ANSI SQL中不支持分页!
      List<Entity> pagedEntityList = runner.page(null, where, 0, 20, new EntityHandler());
      log.info("{}", pagedEntityList);
View Full Code Here

Examples of com.xmultra.util.XPathParser.find()

         */
        private void parseSlideshow(String slideshowUrl)
            throws IOException, ParserConfigurationException, SAXException, XPathExpressionException {

            XPathParser parser = new XPathParser(slideshowUrl + "soundslide.xml");
            NodeList slides = parser.find("/edit/slides/slide");

            String imagesDirectory = "600_450/";

            int imageCount = slides.getLength();

View Full Code Here

Examples of customer.CustomerRegistry.find()

    }

    @Test
    public void testCustomer() {
        CustomerRegistry customerRegistry = node.getService(CustomerRegistry.class, "CustomerRegistryComponent");
        Customer customer = customerRegistry.find("001");
        Assert.assertEquals(customer.getName(), "John Smith");
    }

    public static void main(String[] args) throws Exception {
        CustomerTestCase.init();
View Full Code Here

Examples of dao.ProjetoDAO.find()

        projeto.setAutor(view.getTextAutorProj().getText());
        projetoDAO.save(projeto);
        projetoDAO.close();
        view.setVisible(false);
        projetoDAO.connect();
        main.abreProjeto(projetoDAO.find(projeto.getId()));
        projetoDAO.close();
        view.dispose();
    }

    @Override
View Full Code Here

Examples of de.danet.an.workflow.spis.ras.ActivityFinder.find()

                    long dbid = rs.getLong (1);
                    long idx = rs.getLong (2);
                    ActivityFinder finder = finderByIndex(idx);
                    String actKey = rs.getString(3);
                    try {
                        res.add (new Assignment (dbid, finder.find (actKey)));
                    } catch (NoSuchActivityException e) {
                        // race condition
                        logger.debug
                            ("Found assignment to activity key " + actKey
                             + " but not the activity: " + e.getMessage ());
View Full Code Here

Examples of de.fhg.igd.mongomvcc.VCollection.find()

   
    // 3. Commit index to the database
    long firstCid = master.commit();
   
    // 4. Read documents from the database
    VCursor c = persons.find();
    for (Map<String, Object> person : c) {
      System.out.print("Person { name: " + person.get("name"));
      if (person.containsKey("age")) {
         System.out.print(", age: " + person.get("age"));
      }
View Full Code Here

Examples of de.fuberlin.wiwiss.d2rq.jena.GraphD2RQ.find()

    Node predicate = DC.date.asNode();
    Node object = Node.createLiteral("2003", null, XSDDatatype.XSDgYear);
    Triple pattern = new Triple(subject, predicate, object);

    // Query the graph
    Iterator<Triple> it = g.find(pattern);
   
    // Output query results
    while (it.hasNext()) {
      Triple t = it.next();
        System.out.println("Published in 2003: " + t.getSubject());
View Full Code Here

Examples of de.iritgo.aktera.persist.Persistent.find()

      {
        persistent.setField(properties.getProperty("persistentFilterAttributeName"), properties
                .get("persistentFilterAttribute"));
      }

      if (! persistent.find())
      {
        System.out.println("No Object found:" + persistent);

        return;
      }
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.