Sets the value of the specified key in the current ValueMap to the
given value.
767091
public ValueMap withMap(String key, Map<String, ?> val) {
        super.put(key, val);
        return this;
    }
818570
def set(self, key, value):
        
        self._check_limit()
        _expire = time.time() + self._timeout if self._timeout else None
        self._store[key] = (value, _expire)
511873
public void setValue(String key, String value) {
        KeyValue kv = getKV(key);
        if (kv != null) {
            kv.setValue(value);
        } else if (key != null) {
            map.add(new KeyValue(key,value));
        }
    }
329908
@Override
    public <O> void set(String key, O value) {
        set(key,value,null,false);
    }
109493
def setValue(self, key, value):
        
        curr = self._stack[-1]
        curr[key] = value
463477
public void setProperty(String key, String value)
	{
		if (properties == null)
			properties = new Hashtable<String, String>();
		properties.put(key, value);
	}
650612
def set(self, key, value):
        
        if not self.subsystem.is_cut:
            super().set(key, value)
891506
public static void setProperty(String key, String value) {
		local.get().cc.setProperty(key, value);
	}
418290
public Object setProperty(final String key, final String value) {
        return prop.put(key, value);
    }
907832
public void set(PropertyKey key, String value) {
    put(key, value, Source.RUNTIME);
  }
1130267
public void setValue(Object current, String key, Object value) throws ParseException, IOException {
		throw new RuntimeException(ERR_MSG + " setValue in " + this.getClass() + " key=" + key);
	}
583400
public boolean set(String key, V value)
    {
        int index = exactMatchSearch(key);
        if (index >= 0)
        {
            v[index] = value;
            return true;
        }

        return false;
    }
671126
def set(key , value)
      index = key_index(key)
      if( index )
        i_values.set(index , value)
      else
        i_keys.push(key)
        i_values.push(value)
      end
      value
    end
670672
public void setAttribute(String key, Object value) {

        if (m_attributeMap == null) {
            // hash table is still the most efficient form of a synchronized Map
            m_attributeMap = new Hashtable<String, Object>();
        }
        m_attributeMap.put(key, value);
    }
1062867
public V put(K key, V value) {

        if ((key != null) && (value != null)) {
            return m_internalMap.put(key, value);
        }
        Exception e = new Exception();
        try {
            // we want to print a stack trace when null is used as a key/value
            throw e;
        } catch (Exception e2) {
            e = e2;
        }
        if (key == null) {
            LOG.warn("Invalid null key in map", e);
            return null;
        }
        if (value == null) {
            LOG.warn("Invalid null value in map", e);
            return m_internalMap.remove(key);
        }
        return null;
    }
1355171
public String put(final String key, final Long value) {
    return this._current.put(key, value.toString());
  }
523079
public static void set(String key, Object value) {
    share.get().put(key, value);
  }