Exports this object to a plain map structure which can be easily converted into other
target formats.

@return the exported structure.
552798
public Map<String, Object> export() {
        Map<String, Object> result = new HashMap<String, Object>();
        result.put("min", min());
        result.put("max", max());
        result.put("count", count());
        result.put("percentiles", percentiles());
        result.put("timeUnit", timeUnit().toString());
        return result;
    }
1066978
public Map<String, T> getNodes() {
        return Maps.transformValues(Collections.unmodifiableMap(_nodes), input -> (input != null) ? input.orElse(null) : null);
    }
935890
public Map<String,Object> getProperties()
    {
        Map<String,Object> properties = new Hashtable<String,Object>();
        ParamDispatcher params = this;
        for (Enumeration<String> e = params.keys() ; e.hasMoreElements() ;)
        {
            String strKey = e.nextElement();
            String strValue = params.get(strKey).toString();
            properties.put(strKey, strValue);
        }
        return properties;
    }
1188329
public Map<String, Object> getHeaders() {
        Map<String, Object> map = new HashMap<>();
        map.put("Content-length", "0");
        map.put(CONTENT_TYPE, contentType);
        map.put("Accept", "application/json");
        for (Map.Entry<String, Object> entry : extraHeaders.entrySet()) {
            map.put(entry.getKey(), entry.getValue());
        }
        return map;
    }
81704
public Map<String, Object> build() {
        final ImmutableMap.Builder<String, Object> builder = ImmutableMap.builder();
        ofNullable(remotePath).map(x -> builder.put("remotePath", x));
        ofNullable(user).map(x -> builder.put("user", x));
        ofNullable(pass).map(x -> builder.put("pass", x));
        ofNullable(method).map(x -> builder.put("method", x));
        return builder.build();
    }
533032
public Map<String, String> toMap() {
        Map<String, String> map = new HashMap<>();

        map.put("message", this.getMessage());
        map.put("success", this.getSuccess());
        map.put("is_ported", this.getIsPorted());
        map.put("provider", this.getProvider());
        map.put("type", this.getType());


        return map;
    }
44332
public Map<String, String> toStringMap() {
    Map<String, String> map = new HashMap<>();
    for (Map.Entry<String, Object> entry : entrySet()) {
      map.put(entry.getKey(), String.valueOf(entry.getValue()));
    }
    return map;
  }
1164432
public Map<String, Object> asJson() {
        return ImmutableMap.<String, Object>of(
                Intrinsic.TABLE, _table,
                Intrinsic.ID, _id);
    }
754489
public Object getFormatFor() {

        Transformer mapFunction = new Transformer() {

            public Object transform(Object param) {

                if (m_functionBean == null) {
                    return new CmsDynamicFunctionFormatWrapper(m_cms, null);
                }
                int width = -1;
                String type = null;
                boolean isWidth = false;
                if (param instanceof Long) {
                    width = (int)((Long)param).longValue();
                    isWidth = true;
                } else if (param instanceof Integer) {
                    width = ((Integer)param).intValue();
                    isWidth = true;
                } else {
                    type = param.toString();
                }
                Format format;
                if (isWidth) {
                    format = m_functionBean.getFormatForContainer(m_cms, "", width);
                } else {
                    format = m_functionBean.getFormatForContainer(m_cms, type, -1);
                }
                CmsDynamicFunctionFormatWrapper wrapper = new CmsDynamicFunctionFormatWrapper(m_cms, format);
                return wrapper;
            }
        };
        return CmsCollectionsGenericWrapper.createLazyMap(mapFunction);
    }
76125
public Map<String, Object> getData() {
        TypeToken<Map<String, Object>> typeToken = new TypeToken<Map<String, Object>>() {};
        return getData(typeToken);
    }
698624
protected Map<String, Message.Builder> getMessageMap() {
    return new HashMap<String, Message.Builder>(messageMap);
  }
186747
public Map<K, V> toMap() {
        Map<K, V> result = new HashMap<K, V>();
        result.put(key, value);
        return result;
    }
1041328
public TableData getTableData() {
    	if (TABLE_FORMAT.equals(format)) {
            TableExporter tableExporter = (TableExporter)exporter;
            return tableExporter.getTableData();
        } else {
        	TableData data = new TableData();
        	data.setStyle(null);
            return data;
        }
    }
694996
@SuppressWarnings("unchecked")
    public static <D> Mapping<D, String> toStringMapping() {
        return (Mapping<D, String>) TOSTRING_MAPPING;
    }
138173
public Map<String, Object> serialize() {
        Map<String, Object> serverInfo = new HashMap<String, Object>();
        serverInfo.put("totalCount", totalCount);
        serverInfo.put("cursor", cursor);
        serverInfo.put("serviceName", serviceName);
        serverInfo.put("columnNames", columns);
        serverInfo.put("version", version);
        serverInfo.put("id", id);
        serverInfo.put("initialData", data);

        return serverInfo;
    }
239516
@SuppressWarnings("unchecked")
    public Map toMap() {
        HashMap map = new HashMap();
        map.put("code", code);
        map.put("message", message);
        if (data != null)
            map.put("data", data);
        return map;
    }
317857
public Map<String, Object> asMap() {
        Map<String, Object> map = new HashMap<>();
        map.putAll(defaultProperties);
        map.putAll(customProperties);
        return map;
    }