Examples of merge()


Examples of de.lessvoid.xml.xpp3.Attributes.merge()

  void resolveParameters(final Attributes parentAttributes) {
    getAttributes().resolveParameters(parentAttributes);

    Attributes newParent = new Attributes(parentAttributes);
    newParent.merge(getAttributes());

    interact.resolveParameters(newParent);
    effects.resolveParameters(newParent);

    for (ElementType elementType : elements) {
View Full Code Here

Examples of de.willuhn.jameica.hbci.io.SepaLastschriftMerger.merge()

    if (source.length == 0)
      throw new ApplicationException(i18n.tr("Bitte w�hlen Sie einen oder mehrere Auftr�ge aus"));
   
    List<SepaLastschrift> lastschriften = Arrays.asList(source);
    SepaLastschriftMerger merger = new SepaLastschriftMerger();
    List<SepaSammelLastschrift> result = merger.merge(lastschriften);

    int count = result.size();
    if (count > 1)
      Application.getMessagingFactory().sendMessage(new StatusBarMessage(i18n.tr("{0} Sammelauftr�ge erzeugt",String.valueOf(count)), StatusBarMessage.TYPE_SUCCESS));
    else
View Full Code Here

Examples of de.yaams.extensions.basemap.tiled.util.TileMergeHelper.merge()

    if (ret == JOptionPane.YES_OPTION) {
      TileMergeHelper tmh = new TileMergeHelper(map);
      int len = map.getTotalLayers();
      // TODO: Add a dialog option: "Yes, visible only"
      TileLayer newLayer = tmh.merge(0, len, true);
      map.removeAllLayers();
      map.addLayer(newLayer);
      newLayer.setName("Merged Layer");
      map.addTileset(tmh.getSet());
      editor.setCurrentLayer(0);
View Full Code Here

Examples of dk.brics.xmlgraph.XMLGraph.merge()

    right.getContents().add(text.getIndex());

    switch (s.getKind()) {
    case APPEND:
    case PREPEND:
      g.merge(xmlsrc);
      left.getContents().addAll(base.getRoots());
      g.getRoots().clear();
      g.getRoots().add(seq.getIndex());
      return g;
View Full Code Here

Examples of edu.buffalo.cse.ir.wikiindexer.tokenizer.TokenStream.merge()

  @Test
  public void testMerge() {
    //merge with null
    TokenStream stream1 = new TokenStream("this");
    stream1.append("is","a","test","stream");
    stream1.merge(null);
    assertEquals(5, stream1.getAllTokens().size());
   
    TokenStream stream2 = new TokenStream((String) null);
    stream1.merge(stream2);
    assertEquals(5, stream1.getAllTokens().size());
View Full Code Here

Examples of edu.drexel.goodwin.cpd.domain.Researcher.merge()

      int beforeCount = result.size();
     
      // Delete someone and save
      Researcher firstResearcher = result.get(0);
      firstResearcher.setDeleted(true);
      firstResearcher.merge();
     
      // make sure the deleted researcher did not turn up in the search results
      result = Researcher.findResearchersBySkillsAndInterests(skills, interests, 0, 10);
      assertEquals(beforeCount - 1, result.size());
     
View Full Code Here

Examples of edu.mit.csail.sdg.alloy4.Pos.merge()

        Pos o = (Pos)((java_cup_11a.runtime.Symbol) CUP$CompParser$stack.elementAt(CUP$CompParser$top-7)).value;
        ExprVar f = (ExprVar)((java_cup_11a.runtime.Symbol) CUP$CompParser$stack.elementAt(CUP$CompParser$top-6)).value;
        ExprVar n = (ExprVar)((java_cup_11a.runtime.Symbol) CUP$CompParser$stack.elementAt(CUP$CompParser$top-4)).value;
        List<Decl> d = (List<Decl>)((java_cup_11a.runtime.Symbol) CUP$CompParser$stack.elementAt(CUP$CompParser$top-2)).value;
        Expr v = (Expr)((java_cup_11a.runtime.Symbol) CUP$CompParser$stack.peek()).value;
         nod(n); parser.alloymodule.addFunc(o.merge(v.span()), p, n.label, f   , d    , null, v);
              CUP$CompParser$result = parser.getSymbolFactory().newSymbol("Predicate",53, RESULT);
            }
          return CUP$CompParser$result;

          /*. . . . . . . . . . . . . . . . . . . .*/
 
View Full Code Here

Examples of edu.stanford.nlp.pipeline.CoreMapAggregator.merge()

      }
      c.set(CoreAnnotations.TokenEndAnnotation.class, i+startTokenOffset);
    }
    //merge numbers
    final Integer startTokenOffsetFinal = startTokenOffset;
    List<CoreMap> mergedNumbers = numberAggregator.merge(annotation.get(CoreAnnotations.TokensAnnotation.class), numbers,
        in -> Interval.toInterval(
              in.get(CoreAnnotations.TokenBeginAnnotation.class) - startTokenOffsetFinal,
              in.get(CoreAnnotations.TokenEndAnnotation.class) - startTokenOffsetFinal)
    );
    //restore token offsets
View Full Code Here

Examples of edu.umd.cs.findbugs.BugDesignation.merge()

                mergeBugHistory(origWarning, newBug);
                // handle getAnnotationText()/setAnnotationText() and
                // designation key
                BugDesignation designation = newBug.getUserDesignation();
                if (designation != null) {
                    designation.merge(origWarning.getUserDesignation());
                }
                else {
                    newBug.setUserDesignation(origWarning.getUserDesignation()); // clone??
                }
View Full Code Here

Examples of entagged.audioformats.ape.ApeTag.merge()

  }
 
  protected Tag getCompatibleTag(Tag tag) {
      if(! (tag instanceof ApeTag)) {
        ApeTag apeTag = new ApeTag();
        apeTag.merge(tag);
        return apeTag;
    }
      return tag;
  }
 
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.