Examples of merge()


Examples of ae.sun.font.AttributeValues.merge()

                if (!values.anyDefined(SECONDARY_MASK)) {
                    return font;
                }
                // merge
                values = font.getAttributeValues().clone();
                values.merge(attributes, SECONDARY_MASK);
                return new Font(values, font.name, font.style,
                                font.createdFont, font.font2DHandle);
            }
            return new Font(attributes);
        }
View Full Code Here

Examples of ch.epfl.lbd.trajectories.Episode.merge()

         pt = new GPSPoint(lat,lng,northing,easting,userid,datetime,name,desc);
         pt.comparePrePoint(lastPt);
         Episode lastEpisode = trj.getLastEpisode();
         if(tag.equalsIgnoreCase("B") || tag.equalsIgnoreCase("S")){
           if(lastEpisode != null && lastEpisode instanceof Move){
             lastEpisode.merge(new Move(pt));
           }
           newEpisode = new Stop(pt);
         }
         else{
           if(lastEpisode != null && lastEpisode instanceof Stop){
View Full Code Here

Examples of collage.utils.CellListMerger.merge()

       
        frame.getContentPane().removeAll();
        //frame.getContentPane().add(ci);
       
        CellListMerger clm = new CellListMerger();
        frame.getContentPane().add(new RescalableImage(clm.merge(newCells, new Dimension(img.getWidth(),img.getHeight()))));
        content.repaint();
        frame.pack();
       
        System.out.println(file.getName());
      }
View Full Code Here

Examples of com.adito.vfs.webdav.DAVMultiStatus.merge()

      Iterator children = this.getChildren();
      while (children.hasNext())
        try {
          ((VFSResource) children.next()).delete();
        } catch (DAVException exception) {
          multistatus.merge(exception);
        }

      if (multistatus.size() > 0)
        throw multistatus;
      try {
View Full Code Here

Examples of com.aldaviva.autorpg.data.entities.Quest.merge()

      quest.setStep(1);
      stepReached(quest);
     
      bulletinManager.publish(stepReached(quest));
     
      quest.merge();
     
      return quest;
    } catch (NotEnoughPlayersError e) {
      return null;
    } catch (EmptyResultDataAccessException e){
View Full Code Here

Examples of com.alibaba.dubbo.rpc.cluster.Merger.merge()

            if (resultMerger != null) {
                List<Object> rets = new ArrayList<Object>(resultList.size());
                for(Result r : resultList) {
                    rets.add(r.getValue());
                }
                result = resultMerger.merge(
                        rets.toArray((Object[])Array.newInstance(returnType, 0)));
            } else {
                throw new RpcException( "There is no merger to merge result." );
            }
        }
View Full Code Here

Examples of com.alibaba.otter.shared.common.model.config.pipeline.PipelineParameter.merge()

            List<Pipeline> pipelines = pipelineService.listByChannelIds(channelDo.getId());
            // 合并PipelineParameter和ChannelParameter
            SystemParameter systemParameter = systemParameterService.find();
            for (Pipeline pipeline : pipelines) {
                PipelineParameter parameter = new PipelineParameter();
                parameter.merge(systemParameter);
                parameter.merge(channel.getParameters());
                // 最后复制pipelineId参数
                parameter.merge(pipeline.getParameters());
                pipeline.setParameters(parameter);
                // pipeline.getParameters().merge(channel.getParameters());
View Full Code Here

Examples of com.alibaba.otter.shared.etl.model.RowBatch.merge()

                            identity.setPipelineId(pipelineId);
                            identity.setProcessId(etlEventData.getProcessId());
                            rowBatch.setIdentity(identity);
                            // 进行数据合并
                            for (EventData data : eventData) {
                                rowBatch.merge(data);
                            }

                            long nextNodeId = etlEventData.getNextNid();
                            List<PipeKey> pipeKeys = rowDataPipeDelegate.put(new DbBatch(rowBatch), nextNodeId);
                            etlEventData.setDesc(pipeKeys);
View Full Code Here

Examples of com.alimama.mdrill.distinct.DistinctCount.merge()

    int compresssize=o.dist.size();
    for(int i=0;i<compresssize;i++)
    {
      DistinctCount vv =o.dist.get(i);
      DistinctCount curr=this.dist.get(i);
      curr.merge(vv);
    }
  }
 
  private void mergeStat(GroupbyRow o)
  {
View Full Code Here

Examples of com.almende.eve.entity.activity.Activity.merge()

      else {
        // events are in sync, nothing to do
      }
     
      // update the activity
      activity.merge(eventActivity);
      state.put("activity", activity);

      // update the agent data
      agentData.eventId = event.get("id").asText();
      agentData.eventUpdated = event.get("updated").asText();
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.