Adds the specified {@code key}/{@code value} pair to this mapping.

@param key   the key
@param value the value

@return {@code this}
195375
public T put(YamlNode key, boolean value) {
        return put(key, getNodeFactory().booleanNode(value));
    }
386560
public JobRequest addParameter(String key, String value)
    {
        validateParameter(key, value);
        parameters.put(key, value);
        return this;
    }
632838
public CMAWebhook addHeader(String key, String value) {
    if (this.headers == null) {
      this.headers = new ArrayList<CMAWebhookHeader>();
    }

    this.headers.add(new CMAWebhookHeader(key, value));
    return this;
  }
335440
public MapBuilder<K,V> putIf( K key, Optional<V> value)
    {
    value.ifPresent( v -> map_.put( key, v));
    return this;
    }
68237
public static Object put(String key, Object value) {
        return value == null ? CONTEXT.remove(key) : CONTEXT.put(key, value);
    }
369077
public ContentValues put(String key, String value) {
        mValues.put(key, value);
        return this;
    }
1099959
public void put(String key, String value) {
        if (validCharacters(key) && validCharacters(value)) {
            this.values.put(key, value);
        }
    }
973620
public JSONObject put(String key, Collection<?> value) throws JSONException {
		this.put(key, new JSONArray(value));
		return this;
	}
1330053
public Payload add(String key, String value) {
    getData().put(key, value);
    return this;
  }
418290
public Object setProperty(final String key, final String value) {
        return prop.put(key, value);
    }
528268
public URIBuilder addParameter( String key, String value )
    {
        if ( key != null && value != null ) {
            queryParams.put( key, value );
        }

        return this;
    }
1101968
public Parameters append(String key, String value) {
        if (nameValuePairs == null) {
            nameValuePairs = new ArrayList<NameValuePair>();
        }
        nameValuePairs.add(new BasicNameValuePair(key, value));
        return this;
    }
1138947
@Override
    public DefaultMapBuilder<K, V> put(final K key, final V value) {
        entries.add(new Pair<>(key, value));
        return this;
    }
119295
protected final Pair<?, ?> entry(Object key, Object value) {
    return Pair.of(key, value);
  }
1205422
public void add(K key, V value)
  {
    if (key == null) {
      return;
    }

    K []keys = _keys;
    final int size = _size;
    
    for (int i = size - 1; i >= 0; i--) {
      if (key.equals(keys[i])) {
        _values[i].add(value);
        return;
      }
    }

    if (! ensureCapacity(size)) {
      return;
    }
    
    _keys[size] = key;
    _values[size] = new ArrayList<V>();
    _values[size].add(value);
    
    _size = size + 1;
  }
1146917
public static <K, V> Map<K, V> wrap(final String key, final Object value) {
        val map = new LinkedHashMap();
        if (value != null && StringUtils.isNotBlank(key)) {
            map.put(key, value);
        }
        return map;
    }
1231343
public B set(String key, int value) {
        this.data.put(key, value);
        return (B) this;
    }