Examples of group()


Examples of com.mongodb.DBCollection.group()

            results1.add(groupDbObject);
        }

        DBCollection mockNodeCollection = EasyMock.createMock(DBCollection.class);
        EasyMock.expect(
                mockNodeCollection.group(EasyMock.anyObject(DBObject.class), EasyMock.anyObject(DBObject.class),
                        EasyMock.anyObject(DBObject.class), EasyMock.anyObject(String.class))).andReturn(results1)
                .once();
        EasyMock.expect(
                mockNodeCollection.group(EasyMock.anyObject(DBObject.class), EasyMock.anyObject(DBObject.class),
                        EasyMock.anyObject(DBObject.class), EasyMock.anyObject(String.class))).andReturn(results2)
View Full Code Here

Examples of com.oroinc.text.regex.MatchResult.group()

            }
            replacementOccured = true;
            String replacement = (keep ? html.substring(starttagM.endOffset(0), endtagM.beginOffset(0) + offset) : "" );
            if(domark) {
                //D KFMSystem.log.detail("replaceAllKfmIf: mark!");
                replacement = markTag(starttagM.group(0)) + replacement + markTag(endtagM.group(0));
            }
            if(debug) {
                replacement = commentifyTag(starttagM.group(0)) + replacement + commentifyTag(endtagM.group(0));
            }
            //D KFMSystem.log.detail("Replace of Command KfmIf " + label + ": "
View Full Code Here

Examples of com.sun.star.drawing.XShapeGrouper.group()

       //get the XShapeGrouper
       try{
            log.println("get XShapeGroup");
            XShapeGrouper oSG = (XShapeGrouper)UnoRuntime.queryInterface
                (XShapeGrouper.class, oObj);
            oObj = oSG.group(oShapes);
        } catch ( Exception e) {
                e.printStackTrace( log );
                throw new StatusException(" Couldn't get XShapeGroup: ", e);
        }
View Full Code Here

Examples of de.danet.an.workflow.domain.TransitionDefinitionLocal.group()

             ((Long)ctx.getPrimaryKey()).longValue());
        prepStmt.setLong
      (offset++, Long.parseLong(t.from().key()));
        prepStmt.setLong
      (offset++, Long.parseLong(t.to().key()));
        prepStmt.setString(offset++, td.group());
        prepStmt.setInt(offset++, td.order());
        prepStmt.setInt(offset++, td.conditionType());
        prepStmt.setString(offset++, td.condition());
    } catch (NumberFormatException re) {
        throw new SQLException(re.getMessage());
View Full Code Here

Examples of de.danet.an.workflow.internalapi.ExtTransitionLocal.group()

      for (Iterator i = ((Collection)transByFrom.get(act.key()))
         .iterator (); i.hasNext();) {
    ExtTransitionLocal trans = (ExtTransitionLocal)i.next();
    boolean contTransit = false;
    if (group != null) {
        if (!trans.group().equals (group)) {
      break; // end of group, quit.
        }
        contTransit = true;
    }
    if (logger.isDebugEnabled()) {
View Full Code Here

Examples of de.mhus.lib.form.annotations.FormElement.group()

            aspectName = prefix + methodName + ".";
         
          MForm innerTarget = (MForm) method.invoke(target);
          if (innerTarget != null) {
            ObjectList nextList = list;
            if (!MString.isEmpty(element.group())) {
              nextList = findGroupList(element, list);
              aspectName = "";
            }
            parseElements(aspectName, innerTarget, nextList);
          }       
View Full Code Here

Examples of edu.stanford.nlp.ling.tokensregex.SequenceMatchResult.group()

          }
        } else if (args[0] instanceof MatchResult) {
          MatchResult mr = (MatchResult) args[0];
          Object v = get();
          if (v instanceof Integer) {
            String str = mr.group((Integer) get());
            return new PrimitiveValue<String>(TYPE_STRING, str);
          } else {
            throw new UnsupportedOperationException("String match result must be referred to by group id");
          }
        }
View Full Code Here

Examples of io.netty.bootstrap.Bootstrap.group()

    if (this.connectFuture != null) {
      throw new IllegalStateException(String.format("%s already started a connection attempt.", this.name));
    }

    final Bootstrap bootstrap = new Bootstrap();
    bootstrap.group(this.eventLoopGroup);
    bootstrap.channel(NioSocketChannel.class);
    bootstrap.option(ChannelOption.ALLOCATOR, PooledByteBufAllocator.DEFAULT);

    // TODO Remove this when Netty 5 is available
    bootstrap.option(ChannelOption.AUTO_CLOSE, false);
View Full Code Here

Examples of io.netty.bootstrap.ServerBootstrap.group()

    private void doRun(EventLoopGroup loupGroup, Class<? extends ServerChannel> serverChannelClass) throws InterruptedException {
  try {
      ServerBootstrap b = new ServerBootstrap();
      b.option(ChannelOption.SO_BACKLOG, 1024);
      b.option(ChannelOption.SO_REUSEADDR, true);
      b.group(loupGroup).channel(serverChannelClass).childHandler(new HelloServerInitializer(loupGroup.next()));
      b.option(ChannelOption.MAX_MESSAGES_PER_READ, Integer.MAX_VALUE);
      b.childOption(ChannelOption.ALLOCATOR, new PooledByteBufAllocator(true));
      b.childOption(ChannelOption.SO_REUSEADDR, true);
      b.childOption(ChannelOption.MAX_MESSAGES_PER_READ, Integer.MAX_VALUE);
View Full Code Here

Examples of io.netty.channel.group.ChannelGroupFuture.group()

      ChannelGroupFuture future = channelGroup.close().awaitUninterruptibly();

      if (!future.isSuccess())
      {
         HornetQServerLogger.LOGGER.nettyChannelGroupError();
         Iterator<Channel> iterator = future.group().iterator();
         while (iterator.hasNext())
         {
            Channel channel = iterator.next();
            if (channel.isActive())
            {
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.