Examples of union()


Examples of org.apache.xmlbeans.QNameSet.union()

                    }
                    else
                    {
                        if (extension)
                        {
                            result.setWildcardSet(wcset.union(result.getWildcardSet()));
                            result.setWildcardProcess(wcprocess);
                        }
                        else
                        {
                            result.setWildcardSet(wcset.intersect(result.getWildcardSet()));
View Full Code Here

Examples of org.apache.xmlbeans.QNameSetBuilder.union()

                    label = "restrict set";
                    break;

                case 3:
                    label = "union";
                    current = new QNameSetBuilder(current.union((QNameSetSpecification)teststack.pop()));
                    temp = (boolean[])trackstack.pop();
                    for (int k = 0; k < width * namespace.length; k++)
                        if (temp[k])
                            contents[k] = true;
                    label = "union";
View Full Code Here

Examples of org.cipres.treebase.domain.search.TaxonSearchResults.union()

          // malformed, so it represents a programming error.  20090312 MJD
          throw new Error(e);
        }
        if (tx != null) newTaxa.add(tx);
      }
      results.union(newTaxa);
      saveSearchResults(request, results);
    }
    return samePage(request);
  }
View Full Code Here

Examples of org.dbwiki.data.time.TimeSequence.union()

   
    for (int iValue = 0; iValue < attribute.value().size(); iValue++) {
      boolean opResult = _operator.eval(attribute.value().get(iValue).value());
      if (opResult) {
        if (timestamp != null) {
          timestamp = timestamp.union(attribute.value().get(iValue).getTimestamp());
        } else {
          timestamp = attribute.value().get(iValue).getTimestamp();
        }
      } else {
        hasAllPositiveEvaluations = false;
View Full Code Here

Examples of org.eclipse.draw2d.geometry.Dimension.union()

    List children = figure.getChildren();
    IFigure child;
    for (int i = 0; i < children.size(); i++) {
      child = (IFigure) children.get(i);
      if (!isObservingVisibility() || child.isVisible())
        d.union(child.getMinimumSize(wHint, hHint));
    }

    d.expand(figure.getInsets().getWidth(), figure.getInsets().getHeight());
    d.union(getBorderPreferredSize(figure));
    return d;
View Full Code Here

Examples of org.eclipse.draw2d.geometry.Rectangle.union()

    container.validate();
    List children = container.getChildren();
    Rectangle result = new Rectangle().setLocation(container
        .getClientArea().getLocation());
    for (int i = 0; i < children.size(); i++)
      result.union(((IFigure) children.get(i)).getBounds());
    result.resize(container.getInsets().getWidth(), container.getInsets()
        .getHeight());
    return result.getSize();
  }
View Full Code Here

Examples of org.eclipse.swt.graphics.Rectangle.union()

    Rectangle rect = getDecorationRectangle(control.getShell());
    // If this update is happening due to an image reset, we need to make
    // sure we clear the area from the old image.
    // see https://bugs.eclipse.org/bugs/show_bug.cgi?id=212501
    if (previousDecorationRectangle != null) {
      rect = rect.union(previousDecorationRectangle);
    }
    // Redraw this rectangle in all children
    control.getShell()
        .redraw(rect.x, rect.y, rect.width, rect.height, true);
    control.getShell().update();
View Full Code Here

Examples of org.exist.dom.NodeSet.union()

        NodeSet result = hits[0];
        if (result != null) {
            for(int k = 1; k < hits.length; k++) {
                if (hits[k] != null) {
                    result = type == Constants.FULLTEXT_AND ?
                        result.deepIntersection(hits[k]) : result.union(hits[k]);
                }
            }
            return result;
        } else {
            return NodeSet.EMPTY_SET;
View Full Code Here

Examples of org.gdbms.engine.strategies.Strategy.union()

      throws ExecutionException {
    Strategy strategy = sm.getStrategy(instr);

    DataSource ret;

    ret = strategy.union(instr);

    return getModedDataSource(ret, NORMAL);
  }

  /**
 
View Full Code Here

Examples of org.geomajas.gwt.client.spatial.Bbox.union()

        for (String featureId : layer.getSelectedFeatures()) {
          Feature f = store.getPartialFeature(featureId);
          if (bounds == null) {
            bounds = f.getGeometry().getBounds();
          } else {
            bounds = bounds.union(f.getGeometry().getBounds());
          }
        }
      }
    }
    if (bounds == null) {
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.