Examples of merge()


Examples of org.exoplatform.portal.resource.SkinService.merge()

        //
        Set<SkinConfig> portletConfigs = getPortalPortletSkins();
        // don't merge portlet if portlet not available
        if (!portletConfigs.isEmpty()) {
            skins.add(skinService.merge(portletConfigs));
        }
        //
        return skins;
    }
View Full Code Here

Examples of org.formulacompiler.compiler.internal.expressions.ExpressionNodeForFoldDefinition.merge()

      unletInnerDef( fold.indexName() );
      letDict().unlet( fold.eltCount() );
      letInnerDef( fold.countName() );

      addToClosure( _closure, fold.merge() );

      unletInnerDef( fold.countName() );
      letDict().unlet( fold.accuCount() );

      addToClosure( _closure, fold.whenEmpty() );
View Full Code Here

Examples of org.freeplane.plugin.workspace.dnd.WorkspaceTransferable.merge()

      if(targetNode instanceof IWorkspaceTransferableCreator) {
        if(transferable == null) {
          transferable = ((IWorkspaceTransferableCreator)targetNode).getTransferable();
        }
        else {
          transferable.merge(((IWorkspaceTransferableCreator)targetNode).getTransferable());
        }
      }
    }
    if(transferable == null) {
      return;
View Full Code Here

Examples of org.geomajas.gwt.client.gfx.style.ShapeStyle.merge()

      }
    }
    ShapeStyle style = new ShapeStyle(styleInfo);

    if (feature.getGeometry() instanceof LineString || feature.getGeometry() instanceof MultiLineString) {
      style.merge(lineSelectStyle);
    } else if (feature.getGeometry() instanceof Polygon || feature.getGeometry() instanceof MultiPolygon) {
      style.merge(polygonSelectStyle);
    } else if (feature.getGeometry() instanceof Point || feature.getGeometry() instanceof MultiPoint) {
      style.merge(pointSelectStyle);
    }
View Full Code Here

Examples of org.geotools.feature.visitor.MaxVisitor.MaxResult.merge()

        CalcResult maxResult2 = (MaxResult) maxVisitor2.getResult();
        CalcResult maxResult3 = (MaxResult) maxResult1.merge(maxResult2);
        assertEquals((double) 4.5, maxResult3.toDouble(), 0);
        //test for destruction during merge
        CalcResult maxResult4 = new MaxResult((Comparable) new Double(2));
        CalcResult maxResult5 = (MaxResult) maxResult4.merge(maxResult1);
        assertEquals(3, maxResult5.toDouble(), 0);
        assertEquals(2, maxResult4.toDouble(), 0);
        //test negative result
        CalcResult maxResult6 = new MaxResult((Comparable) new Integer(-5));
        CalcResult maxResult7 = (MaxResult) maxResult1.merge(maxResult6);
View Full Code Here

Examples of org.geotools.feature.visitor.MedianVisitor.MedianResult.merge()

        assertEquals(2, medianResult3.toDouble(), 0);
        //test for destruction during merge
        List vals = new ArrayList();
        vals.add(new Double(2.5)); vals.add(new Double(3.5)); vals.add(new Double(4.5));
        CalcResult medianResult4 = new MedianResult(vals);
        CalcResult medianResult5 = medianResult4.merge(medianResult1);
        assertEquals(2.75, medianResult5.toDouble(), 0);
        assertEquals(3.5, medianResult4.toDouble(), 0);
        //test a mock optimization
        medianVisitor1.setValue(new Double(544));
        medianResult1 = medianVisitor1.getResult();
View Full Code Here

Examples of org.geotools.feature.visitor.MinVisitor.MinResult.merge()

        CalcResult minResult2 = minVisitor2.getResult();
        CalcResult minResult3 = minResult1.merge(minResult2);
        assertEquals(1, minResult3.toInt());
        //test for destruction during merge
        CalcResult minResult4 = new MinResult((Comparable) new Integer(10));
        CalcResult minResult5 = minResult4.merge(minResult1);
        assertEquals(1, minResult5.toInt());
        assertEquals(10, minResult4.toInt());
        //test negative result
        CalcResult minResult6 = new MinResult((Comparable) new Integer(-5));
        CalcResult minResult7 = (MinResult) minResult1.merge(minResult6);
View Full Code Here

Examples of org.geotools.geometry.iso.coordinate.LineStringImpl.merge()

    // JR error: parameter maxSpacing and maxOffset were not passed
    LineStringImpl result = ((CurveImpl) primitives.get(0)).asLineString(
        maxSpacing, maxOffset);
    for (int i = 1; i < primitives.size(); ++i) {
      CurveImpl curve = ((CurveImpl) primitives.get(i));
      result = result.merge(curve.asLineString(maxSpacing, maxOffset));
    }
    return result;

  }
View Full Code Here

Examples of org.geotools.geometry.iso.operation.Merger.merge()

   * @return
   */
  public CurveImpl merge(CurveImpl other) {
    // Test ok
    Merger merger = new Merger( crs );// new Merger(this.getFeatGeometryFactory());
    return merger.merge(this, other);
  }
 
  /* (non-Javadoc)
   * @see java.lang.Object#toString()
   */
 
View Full Code Here

Examples of org.grails.config.PropertySourcesConfig.merge()

        org.springframework.core.env.Environment environment = applicationContext.getEnvironment();
        if(environment instanceof ConfigurableEnvironment) {
            MutablePropertySources propertySources = ((ConfigurableEnvironment) environment).getPropertySources();
            PropertySourcesConfig newConfig = new PropertySourcesConfig(propertySources);
            if(this.config != null) {
                newConfig.merge(this.config);
            }
            this.config = newConfig;
        }
        this.parentContext = applicationContext;
    }
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.