Examples of first()


Examples of org.dmlite.model.order.IOrderedEntities.first()

      Link firstLink = new Link("first") {
        static final long serialVersionUID = 200581L;

        public void onClick() {
          IEntity firstEntity = (IEntity) entities.first();
          ModelContext firstEntityModelContext = new ModelContext(
              modelContext);
          firstEntityModelContext.setEntity(firstEntity);

          ViewContext firstEntityViewContext = new ViewContext(
View Full Code Here

Examples of org.domain.model.component.topic.Topics.first()

    }
  }

  private void test03() {
    Topics topics = getTopics();
    Topic firstTopic = (Topic) topics.first();
    if (firstTopic != null) {
      Topics firstTopicSubtopics = firstTopic.getSubtopics();
      Topic firstSubtopic = (Topic) firstTopicSubtopics.first();
      if (firstSubtopic != null) {
        Links firstSubtopicLinks = (Links) firstSubtopic.getLinks();
View Full Code Here

Examples of org.eaxy.ElementSet.first()

        for (Element controller : controllerSet) {
            ElementSet skinSet = controller.find("skin");
            if (1 != skinSet.size()) {
                throw new ColladaParseException("Found " + skinSet.size() + " skin sets for controller id=" + controller.id() + " name=" + controller.name());
            }
            Element skin = skinSet.first();

            ElementSet jointsSet = skin.find("joints");
            if (1 != jointsSet.size()) {
                throw new ColladaParseException("Found " + jointsSet.size() + " joints sets for controller id=" + controller.id() + " name=" + controller.name());
            }
View Full Code Here

Examples of org.hibernate.ScrollableResults.first()

            cursor.last();
            int count = cursor.getRowNumber() + 1;
            log.debug("total documents in database: " + count);

            if (count > 0) {
                cursor.first(); // Reset to first result row
                int i = 0;
                while (true) {
                    i++;
                    Object o = cursor.get(0);
                    log.debug("indexing instance " + i + ": " + o);
View Full Code Here

Examples of org.huihoo.workflow.impl.monitor.MonitorEventResult.first()

    {
      ConnUtils.cleanupNoThrow(pstmt);
      pstmt = null;

    }
    if (eventResult.first())
    {
      String xorJoinWorkId = eventResult.getJoinWorkID();
      WorkflowWork xorJoinWork =
        caseDatabase.findWorkflowWork(
          workflowProcess,
View Full Code Here

Examples of org.infinispan.config.FluentConfiguration.CustomInterceptorPosition.first()

         if (interceptor.index() > -1)
         position.atIndex(interceptor.index());
         if (interceptor.before() != null)
            position.before(interceptor.before());
         if (interceptor.first())
            position.first();
         if (interceptor.last())
            position.last();
      }

      legacy.dataContainer()
View Full Code Here

Examples of org.jamesii.core.util.CharSequenceCharacterIterator.first()

  public String[] parse(CharSequence line) {
    List<String> tokens = new ArrayList<>();
    CharacterIterator ci = new CharSequenceCharacterIterator(line);
    StringBuilder tok = new StringBuilder();
    State state = State.BEGIN;
    loop: for (char c = ci.first();; c = ci.next()) {
      switch (c) {
      case '"':
        switch (state) {
        case BEGIN:
          // start of a quoted string
View Full Code Here

Examples of org.jatha.dynatype.LispValue.first()

    bt.offset  = new int[ bt.numCmds ];
   
    for( i = 0; i < bt.numCmds; i++ ) {
      cmdList    = cmdListList.car();
      cmdListList = cmdListList.cdr();
      cmdStr    = cmdList.first().toStringSimple().toUpperCase();
     
      if( cmdStr.equals( "SEND" )) {
        bt.cmd[ i ] = BT_SEND;
        id      = cmdList.second().toJava();
        o      = jatha.getObject( id);
View Full Code Here

Examples of org.jclouds.openstack.neutron.v2.domain.Networks.first()

         /*
          * Check response
          */
         assertNotNull(networks);
         assertEquals(networks.first().get().getId(), "396f12f8-521e-4b91-8e21-2e003500433a");
      } finally {
         server.shutdown();
      }
   }

View Full Code Here

Examples of org.jclouds.openstack.neutron.v2.domain.Ports.first()

         /*
          * Check response
          */
         assertNotNull(ports);
         assertEquals(ports.size(), 2);
         assertEquals(ports.first().get().getId(), "24e6637e-c521-45fc-8b8b-d7331aa3c99f");
      } finally {
         server.shutdown();
      }
   }

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.