Examples of addAll()


Examples of org.drools.common.LeftTupleSets.addAll()

            // and the main outer network now receives the peer, notice the swap at the end "srcTuples == peerTuples"
            LeftTupleSets peerTuples = new LeftTupleSets();
            SegmentPropagator.processPeers( srcTuples, peerTuples, betaNode );
            // Make sure subnetwork Segment has tuples to process
            LeftTupleSets subnetworkStaged =  subSmem.getStagedLeftTuples();
            subnetworkStaged.addAll( srcTuples )

            srcTuples.resetAll();
           
            srcTuples = peerTuples;
        }                   
View Full Code Here

Examples of org.drools.compiler.MockPersistentSet.addAll()

        List list = new ArrayList();
        list.add( "example1" );
        list.add( "example2" );

        MockPersistentSet mockPersistentSet = new MockPersistentSet( false );
        mockPersistentSet.addAll( list );
        ObjectWithSet objectWithSet = new ObjectWithSet();
        objectWithSet.setSet( mockPersistentSet );

        ksession.insert( objectWithSet );
View Full Code Here

Examples of org.drools.core.common.LeftTupleSets.addAll()

        LeftTupleSets trgTuples = entry.getTrgTuples();
        if (node.getType() == NodeTypeEnums.QueryElementNode) {
            // copy across the results, if any from the query node memory
            QueryElementNodeMemory qmem = (QueryElementNodeMemory) nodeMem;
            qmem.setNodeCleanWithoutNotify();
            trgTuples.addAll(qmem.getResultLeftTuples());
        }

        LeftTupleSinkNode sink = entry.getSink();
        PathMemory pmem = entry.getRmem();
View Full Code Here

Examples of org.eclipse.core.internal.databinding.IdentitySet.addAll()

  /**
   * Disposes of this manager and all observables that it manages.
   */
  public void dispose() {
    Set observables = new IdentitySet();
    observables.addAll(managedObservables);
    for (Iterator it = contexts.keySet().iterator(); it.hasNext();) {
      DataBindingContext context = (DataBindingContext) it.next();
      Pair trackModelsOrTargets = (Pair) contexts.get(context);
      boolean disposeTargets = ((Boolean) trackModelsOrTargets.a)
          .booleanValue();
View Full Code Here

Examples of org.eclipse.core.runtime.MultiStatus.addAll()

            multi = new MultiStatus(Activator.PLUGIN_ID, 0, "Publishing completed with a warning", null);
        else if (tempMulti.getSeverity() == IStatus.ERROR)
            multi = new MultiStatus(Activator.PLUGIN_ID, 0, "Publishing failed", null);
       
        if (multi != null)
            multi.addAll(tempMulti);
       
        return multi;
    }
   
View Full Code Here

Examples of org.eclipse.draw2d.geometry.PointList.addAll()

      boolean onlyCreateNewRecords) {
    generatePointList();

    PointList points = this.points.getCopy();
    if (points.size() == 0)
      points.addAll(getDefaultPoints(layout));

    Rectangle bounds = points.getBounds();
    // calculate difference
    Dimension delta = bounds.getLocation()
        .getDifference(layout.getLocation()).negate();
View Full Code Here

Examples of org.eclipse.draw2d.graph.EdgeList.addAll()

  private void mapGraphEdgeCoordinatesToDiagram(DirectedGraph graph,
      final SapphireDiagramEditor diagramEditor, final boolean autoLayout)
  {
    // add bend points generated by the graph layout
    EdgeList myEdges = new EdgeList();
    myEdges.addAll(graph.edges);
    DiagramConfigurationManager configManager = diagramEditor.getConfigurationManager();
   
    for (Object object : myEdges)
    {
      Edge edge = (Edge)object;
View Full Code Here

Examples of org.eclipse.draw2d.graph.NodeList.addAll()

   * @param graph Graph containing layouted nodes
   * @return Diagram with elements layouted
   */
  private Diagram mapGraphCoordinatesToDiagram(CompoundDirectedGraph graph) {
    NodeList myNodes = new NodeList();
    myNodes.addAll(graph.nodes);
    myNodes.addAll(graph.subgraphs);
    for (Object object : myNodes) {
      Node node = (Node) object;
      Shape shape = (Shape) node.data;
      shape.getGraphicsAlgorithm().setX(node.x);
View Full Code Here

Examples of org.eclipse.ecf.presence.search.ResultList.addAll()

                SERVICE_SEARCH
                    + ecfConnection.getXMPPConnection()
                        .getServiceName());
            // create a result list from ReportedData
            IResultList partialResultList = createResultList(data);
            resultList.addAll(partialResultList.getResults());
          }
        }
      }

      return new XMPPSearch(resultList);
View Full Code Here

Examples of org.eclipse.emf.common.util.BasicDiagnostic.addAll()

           DIAGNOSTIC_SOURCE,
           WELL_FORMED_INSTANCE_TYPE_NAME,
           "_UI_EClassifierInstanceTypeNameAnalysisResult_diagnostic",
           new Object [] { instanceTypeName },
           new Object [] { eGenericType, instanceTypeName });
      result.addAll(placeholder);
      return result;
    }

    /**
     * Parses a list of type parameters and returns a diagnostic representing the result of the analysis.
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.