Examples of entrySet()


Examples of aQute.bnd.header.Parameters.entrySet()

        String exportPkgStr = attribs.getValue(Constants.EXPORT_PACKAGE);
        Parameters exportsMap = new Parameters(exportPkgStr);

        // Merge the exports
        Map<PackageRef,List<PackageRef>> uses = builder.getUses();
        for (Entry<String,Attrs> entry : exportsMap.entrySet()) {
            String pkgName = Processor.removeDuplicateMarker(entry.getKey());
            ExportPackage export = new ExportPackage(pkgName, entry.getValue(), uses.get(pkgName));
            List<ExportPackage> exportList = exports.get(export.getName());
            if (exportList == null) {
                exportList = new LinkedList<ExportPackage>();
View Full Code Here

Examples of aQute.bnd.osgi.Packages.entrySet()

            for (Builder builder : builders) {
                try {
                    builder.build();
                    Packages exports = builder.getExports();
                    if (exports != null) {
                        for (Entry<PackageRef,Attrs> export : exports.entrySet()) {
                            Version version;
                            String versionStr = export.getValue().get(Constants.VERSION_ATTRIBUTE);
                            try {
                                version = Version.parseVersion(versionStr);
                                String pkgName = Processor.removeDuplicateMarker(export.getKey().getFQN());
View Full Code Here

Examples of clips.delegate.contract.ServisePriceData.entrySet()

                    }
                    data.put("packetTemplates", "Включенные пакеты услуг:\n" + templates);
                    title += ": доступные пакеты услуг";
                }
                               
                PrintCreators.createGeneratedReport(title, null, data.entrySet(), null, model, getClass());
            }
        } catch (ClipsException ex) {
            MessageBox.showException(ex);
        }
    }
View Full Code Here

Examples of com.adito.boot.CaseInsensitiveMap.entrySet()

            }
        }
       
        a.put("action", "/replacementProxyEngine/" + ticket + "/" + Util.urlEncode(Utils.htmlunescape(sslexUrl)) );

        for (Iterator i = a.entrySet().iterator(); i.hasNext();) {
            buf.append(" ");
            Map.Entry entry = (Map.Entry) i.next();
            buf.append(entry.getKey().toString());
            buf.append("=\"");
            buf.append(entry.getValue());
View Full Code Here

Examples of com.caucho.quercus.env.ArrayValue.entrySet()

      Value result = FileModule.parse_ini_file(env, path, false);

      if (result instanceof ArrayValue) {
        ArrayValue array = (ArrayValue) result;

        for (Map.Entry<Value,Value> entry : array.entrySet()) {
          setIni(entry.getKey().toString(), entry.getValue().toString());
        }
      }

      _iniFile = path;
View Full Code Here

Examples of com.caucho.quercus.module.IniDefinitions.entrySet()

      Set<String> extensionSet = moduleInfo.getLoadedExtensions();

      if (extensionSet.contains(_name)) {
        IniDefinitions iniDefs = moduleInfo.getIniDefinitions();

        Set<Map.Entry<String, IniDefinition>> entrySet = iniDefs.entrySet();

        if (entrySet != null) {
          for (Map.Entry<String, IniDefinition> entry : entrySet) {
            array.put(StringValue.create(entry.getKey()),
                      entry.getValue().getValue(env));
View Full Code Here

Examples of com.clarkparsia.pellet.rules.VariableBinding.entrySet()

    }

    public Map<AtomVariable, ATermAppl> next() {
      Map<AtomVariable, ATermAppl> result = new HashMap<AtomVariable, ATermAppl>();
      VariableBinding binding = iter.next();
      for (Map.Entry<? extends AtomVariable, ? extends Node> entry : binding.entrySet()) {
        result.put(entry.getKey(), entry.getValue().getTerm());
      }
      return result;
    }
View Full Code Here

Examples of com.crashnote.core.config.helper.ConfigObject.entrySet()

            }
            break;
        case OBJECT:
            final ConfigObject obj = (ConfigObject) value;
            out.writeInt(obj.size());
            for (final Map.Entry<String, ConfigValue> e : obj.entrySet()) {
                out.writeUTF(e.getKey());
                writeValue(out, e.getValue(), (SimpleConfigOrigin) obj.origin());
            }
            break;
        }
View Full Code Here

Examples of com.crashnote.external.config.ConfigObject.entrySet()

            }
            break;
        case OBJECT:
            final ConfigObject obj = (ConfigObject) value;
            out.writeInt(obj.size());
            for (final Map.Entry<String, ConfigValue> e : obj.entrySet()) {
                out.writeUTF(e.getKey());
                writeValue(out, e.getValue(), (SimpleConfigOrigin) obj.origin());
            }
            break;
        }
View Full Code Here

Examples of com.cumulocity.me.lang.Map.entrySet()

    protected void basePropertiesToJson(BaseResourceRepresentation representation, JSONObject json) {
        super.basePropertiesToJson(representation, json);
        AbstractExtensibleRepresentation r = (AbstractExtensibleRepresentation) representation;
        Map attrs = r.getAttrs();
        if (!attrs.isEmpty()) {
            Iterator i = attrs.entrySet().iterator();
            while (i.hasNext()) {
                Entry entry = (Entry) i.next();
                String propertyName = (String) entry.getKey();
                Object propertyValue = entry.getValue();
                putObject(json, propertyName, propertyValue);
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.