@see java.util.Properties#setProperty(java.lang.String, java.lang.String)

@param key
@param value
@return the previous property (null if there wasn't one)
425775
public Object setProperty(String key, LangAlt value) {
		return super.setProperty(key, value.toString());
	 }
1151109
public static void setLocalProperty(final String key, final String value) {
        if (null == key) {
            LOGGER.log(Level.WARN, "local.props can not set null key");

            return;
        }
        if (null == value) {
            LOGGER.log(Level.WARN, "local.props can not set null value");

            return;
        }

        localProps.setProperty(key, value);
    }
183035
@Override
	public Object put(String key, Object value) {
		if (key == null)
			return null;
		else if (key.indexOf('.') > 0)
			RecursiveObjectWriter.setProperty(this, key, value);
		else
			super.put(key, value);
		return value;
	}
1207330
public void setRequestProperty(String key, Object value) {
		if (value != null) {
			if (requestProperties == null) {
				requestProperties = new HashMap<>();
			}
			requestProperties.put(key, value);
		}
	}
105265
@Override
	public Object put(final Object key, final Object value) {
		lock.writeLock().lock();
		try {
			return properties.put(key, value);
		} finally {
			lock.writeLock().unlock();
		}
	}
502784
@Override
    public void setCustomProperty(String key, String value)
    {
        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
            SibTr.entry(this, tc, "setCustomProperty", new Object[] { "Key=" + key, "Value=" + value });

        _customProperties.put(key, value);

        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
            SibTr.exit(this, tc, "setCustomProperty");
    }
911138
public final void set(String key, Object value) {
		try {
			this.mutex.acquire();
			if (value == null) {
				this.valueMap.remove(key);
			} else {
				this.valueMap.put(key, value);
			}
		} finally {
			try {
				this.mutex.release();
			} catch (Exception ignore) {
			}
		}
	}
652593
public <T> B set(Class<T> key, T value) {
        Object old = set(key.getName(), Objects.requireNonNull(value));
        if (old != null && old.getClass().isAssignableFrom(value.getClass())) {
            return (B) old;
        }
        return (B) this;
    }
907832
public void set(PropertyKey key, String value) {
    put(key, value, Source.RUNTIME);
  }
612408
public V setValue(final V value) {
		V oldValue = this.getValue();
		this.values[tree.pageIndex] = value;
		return oldValue;
	}
225373
public <T> void put(@NonNull String key, @NonNull T value) {
    Preconditions.checkNotNull(value, VALUE_IS_NULL);
    put(key, value, TypeToken.fromValue(value));
  }
978774
public void setProperty(final String propertyName, final String value) {
        Preconditions.checkNotNull(propertyName);
        if (value == null) {
            properties.put(propertyName, null);
            return;
        }
        List<String> values = new ArrayList<>();
        values.add(value);
        properties.put(propertyName, values);
    }
436377
public Yoke set(@NotNull String key, Object value) {
        if (value == null) {
            defaultContext.remove(key);
        } else {
            defaultContext.put(key, value);
        }

        return this;
    }
1233270
public void setProperty(String key, String val) {

	ArrayList list  = null;
	Object oldValue = null;

	oldValue = getProperty(key);

	appProps.setProperty(key, val);
	if (listeners.containsKey(key)) {
	  list = (ArrayList)listeners.get(key);
	  int len = list.size();
	  if (len > 0) {
		PropertyChangeEvent evt = new PropertyChangeEvent(this, key, oldValue, val);
          for (Object aList : list) {
              if (aList instanceof PropertyChangeListener)
                  ((PropertyChangeListener) aList).propertyChange(evt);
          }
	  }
	}

  }
915003
public void setProperty(String key, String value) {
        assertArgumentNotNull("key", key);
        assertArgumentNotNull("value", value);
        session.getProperties().setProperty(key, value);
    }
1046512
public Environment set(@NonNull String key, @NonNull Object value) {
        props.remove(key);
        props.put(key, value.toString());
        return this;
    }
1312024
public SimpleHTMLTag setProperty(String key, String value) {
        key = UniformUtils.checkPropertyNameAndLowerCase(key);

        if (properties == null) {
            properties = new HashMap<>();
        }

        properties.put(key, value);

        return this;
    }