Package org.eclipse.osgi.framework.util

Examples of org.eclipse.osgi.framework.util.KeyedHashSet.elements()


    boolean subPackages = (options & BundleWiring.LISTRESOURCES_RECURSE) != 0;
    List<String> packages = new ArrayList<String>();
    // search imported package names
    KeyedHashSet importSources = getImportedSources(null);
    if (importSources != null) {
      KeyedElement[] imports = importSources.elements();
      for (KeyedElement keyedElement : imports) {
        String id = ((PackageSource) keyedElement).getId();
        if (id.equals(pkgName) || (subPackages && isSubPackage(pkgName, id)))
          packages.add(id);
      }
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.