Examples of entrySet()


Examples of com.eviware.soapui.support.types.StringToStringMap.entrySet()

        StringToStringMap history = recent == null ? new StringToStringMap() : StringToStringMap.fromXml(recent);

        recentWorkspacesMenu.removeAll();

        if (history.size() > 0) {
            for (Map.Entry<String, String> entry : history.entrySet()) {
                String filePath = entry.getKey();
                DefaultActionMapping<WorkspaceImpl> mapping = new DefaultActionMapping<WorkspaceImpl>(
                        SwitchWorkspaceAction.SOAPUI_ACTION_ID, null, null, false, filePath);
                String wsName = entry.getValue();
View Full Code Here

Examples of com.eviware.soapui.support.types.StringToStringsMap.entrySet()

            // casting below cause WsdlMockRunContext is both a MockRunContext AND a Map<String,Object>
            context.putAll((WsdlMockRunContext) request.getContext());
            context.putAll((WsdlMockRunContext) request.getRequestContext());

            StringToStringsMap responseHeaders = getResponseHeaders();
            for (Map.Entry<String, List<String>> headerEntry : responseHeaders.entrySet()) {
                for (String value : headerEntry.getValue()) {
                    result.addHeader(headerEntry.getKey(), PropertyExpander.expandProperties(context, value));
                }
            }
View Full Code Here

Examples of com.google.api.services.drive.model.File.entrySet()

                  title = "";
                rd.setFileName(title + "." + extension);
              }

              // Get general document metadata
              for (Entry<String, Object> entry : googleFile.entrySet()) {
                rd.addField(entry.getKey(), entry.getValue().toString());
              }

              // Fire up the document reading thread
              DocumentReadingThread t = new DocumentReadingThread(documentURI);
View Full Code Here

Examples of com.google.api.services.genomics.model.ListDatasetsResponse.entrySet()

            "'createdataset' command to make a new dataset.\n" +
            "You can find Google Genomics Public Data in project 761052378059");
        return;
      }

      for (Map.Entry<String, String> dataset : datasets.entrySet()) {
        printDataset(genomics, dataset.getKey(), dataset.getValue(), null, includeDetails);
      }
    }
  }
}
View Full Code Here

Examples of com.google.greaze.definition.ContentBody.entrySet()

          }
          @Override
          public void write(JsonWriter writer, ContentBody value) throws IOException {
            ContentBody src = (ContentBody) value;
            writer.beginObject();
            for(Map.Entry<String, Object> entry : src.entrySet()) {
              String key = entry.getKey();
              TypeAdapter adapter = adapters.getAdapter(key);
              writer.name(key);
              adapter.write(writer, entry.getValue());
            }
View Full Code Here

Examples of com.google.greaze.definition.HeaderMapSpec.entrySet()

  }

  private HeaderMap buildRequestHeaders(Map<String, String> headers) {
    HeaderMapSpec headersSpec = this.spec.getHeadersSpec();
    HeaderMap.Builder paramsBuilder = new HeaderMap.Builder(headersSpec);
    for (Map.Entry<String, Type> param : headersSpec.entrySet()) {
      String name = param.getKey();
      Type type = param.getValue();
      String header = headers.get(name);
      if (header != null) {
        Object value = gson.fromJson(header, type);
View Full Code Here

Examples of com.google.gson.JsonObject.entrySet()

  }
  private static void leaveOneSubtype(JsonObject typeConfig, String subtypeName)
      throws JsonParseException {
    JsonObject weightConfig = typeConfig.get("weights").getAsJsonObject();

    for (Entry<String, JsonElement> entry : weightConfig.entrySet()) {
      String name = entry.getKey();
      if (name.equals(subtypeName)) {
        weightConfig.addProperty(name, 1);
      } else {
        weightConfig.addProperty(name, 0);
View Full Code Here

Examples of com.google.gwt.storage.client.StorageMap.entrySet()

    keys.add(ACHIEVEMENTS_KEY);
    keys.add(ID_KEY);
    keys.add(TIMESTAMP_KEY);
   
    StorageMap storageMap=new StorageMap(storage);
    for(Map.Entry<String,String> entry:storageMap.entrySet()){
      if(!keys.contains(entry.getKey())){
        storage.removeItem(entry.getKey());
      }
    }
  }
View Full Code Here

Examples of com.googlecode.gwt.test.internal.utils.PropertyContainer.entrySet()

      StringBuilder sb = new StringBuilder();
      sb.append("<").append(tagName).append(" ");

      PropertyContainer attrs = JsoUtils.getDomProperties(elem);
      for (Map.Entry<String, Object> entry : attrs.entrySet()) {
         // special treatment for "disabled" property, which should be a empty
         // string attribute if the DOM element is disabled
         if ("disabled".equals(entry.getKey())) {
            Boolean disabled = (Boolean) entry.getValue();
            if (disabled.booleanValue()) {
View Full Code Here

Examples of com.hazelcast.core.IMap.entrySet()

            }
        }, 1);
        addOperation(operations, new Runnable() {
            public void run() {
                IMap map = hazelcast.getMap("myMap");
                Iterator it = map.entrySet().iterator();
                for (int i = 0; i < 10 && it.hasNext(); i++) {
                    it.next();
                }
            }
        }, 1);
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.