Examples of includes()


Examples of CH.ifa.draw.framework.Figure.includes()

    for (FigureEnumeration k = drawing.figures(); k.hasMoreElements();)
    {
      Figure figure = k.nextFigure();
      figure = figure.findFigureInside(x, y);

      if (figure != null && !figure.includes(connectionFigure) && figure.canConnect())
      {
        return figure;
      }
    }
    return null;
View Full Code Here

Examples of aQute.bnd.version.VersionRange.includes()

                String versionRangeStr = importAttribs.get(Constants.VERSION_ATTRIBUTE);
                VersionRange versionRange = (versionRangeStr != null) ? new VersionRange(versionRangeStr) : new VersionRange("0");
                for (ExportPackage export : matchingExports) {
                    String versionStr = export.getAttribs().get(Constants.VERSION_ATTRIBUTE);
                    Version version = (versionStr != null) ? new Version(versionStr) : new Version(0);
                    if (versionRange.includes(version)) {
                        selfImport = true;
                        break;
                    }
                }
            }
View Full Code Here

Examples of aQute.bnd.version.VersionRange.includes()

            Set<Version> includedVersions = bundleVersions.get(name);
            if (includedVersions != null) {
                String versionRangeStr = rbAttribs.get(Constants.BUNDLE_VERSION_ATTRIBUTE);
                VersionRange versionRange = (versionRangeStr != null) ? new VersionRange(versionRangeStr) : new VersionRange("0");
                for (Version includedVersion : includedVersions) {
                    if (versionRange.includes(includedVersion)) {
                        satisfied = true;
                        break;
                    }
                }
            }
View Full Code Here

Examples of aQute.bnd.version.VersionRange.includes()

                String versionRangeStr = importAttribs.get(Constants.VERSION_ATTRIBUTE);
                VersionRange versionRange = (versionRangeStr != null) ? new VersionRange(versionRangeStr) : new VersionRange("0");
                for (ExportPackage export : matchingExports) {
                    String versionStr = export.getAttribs().get(Constants.VERSION_ATTRIBUTE);
                    Version version = (versionStr != null) ? new Version(versionStr) : new Version(0);
                    if (versionRange.includes(version)) {
                        selfImport = true;
                        break;
                    }
                }
            }
View Full Code Here

Examples of aQute.bnd.version.VersionRange.includes()

            Set<Version> includedVersions = bundleVersions.get(name);
            if (includedVersions != null) {
                String versionRangeStr = rbAttribs.get(Constants.BUNDLE_VERSION_ATTRIBUTE);
                VersionRange versionRange = (versionRangeStr != null) ? new VersionRange(versionRangeStr) : new VersionRange("0");
                for (Version includedVersion : includedVersions) {
                    if (versionRange.includes(includedVersion)) {
                        satisfied = true;
                        break;
                    }
                }
            }
View Full Code Here

Examples of aQute.libg.version.VersionRange.includes()

      if (range != null && range.getLow() != null)
        versionMap = versionMap.tailMap(range.getLow());
     
      result = new ArrayList<Resource>(versionMap.size());
      for (Version version : versionMap.keySet()) {
        if (range == null || range.includes(version))
          result.add(versionMap.get(version));
       
        // optimisation: skip versions definitely higher than the range
        if (range != null && range.isRange() && version.compareTo(range.getHigh()) >= 0)
          break;
View Full Code Here

Examples of com.avaje.ebeaninternal.server.querydefn.OrmQueryDetail.includes()

   */
  public BeanPropertyAssocMany<?> getManyProperty(SpiQuery<?> query) {

    OrmQueryDetail detail = query.getDetail();
    for (int i = 0; i < propertiesMany.length; i++) {
      if (detail.includes(propertiesMany[i].getName())) {
        return propertiesMany[i];
      }
    }

    return null;
View Full Code Here

Examples of com.calclab.emite.core.client.xmpp.stanzas.IQ.Includes()

    public void requestSession(final XmppURI uri) {
  final IQ iq = new IQ(IQ.Type.set, uri.getHostURI());
  iq.setFrom(uri);
  iq.setAttribute("id", "im-session-request");
  iq.Includes("session", "urn:ietf:params:xml:ns:xmpp-session");

  connection.send(iq);
    }
}
View Full Code Here

Examples of com.director.core.annotation.DirectResult.includes()

      }
*/
      try {
         if(directMethod.hasResultAnnotation()) {
            DirectResult directResult = directMethod.getResultAnnotation();
            for(Pattern pattern : directResult.includes()) {
               gsonBuilder.registerTypeAdapter(pattern.type(), new IncludeFieldsTypeAdapter(pattern.fields()));
            }
            for(Pattern pattern : directResult.excludes()) {
               gsonBuilder.registerTypeAdapter(pattern.type(), new ExcludeFieldsTypeAdapter(pattern.fields()));
            }
View Full Code Here

Examples of com.sun.tools.javac.code.Scope.includes()

                    Scope fromScope = members;
                    Scope toScope = starImportScope;
                    // The following lines are taken from MemberEnter.importAll,
                    // before the use of StarImportScope.importAll.
                    for (Scope.Entry e = fromScope.elems; e != null; e = e.sibling) {
                        if (e.sym.kind == TYP && !toScope.includes(e.sym))
                            toScope.enter(e.sym, fromScope);
                    }
                }

                for (Scope.Entry e = members.elems; e != null; e = e.sibling) {
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.