Sets an additional preference value.<p>

@param name the additional preference name
@param value the preference value
559688
public void setAdditionalPreference(String name, String value) {

        if (value == null) {
            m_additionalPreferences.remove(name);
        } else {
            m_additionalPreferences.put(name, value);
        }
    }
737222
public void setAttribute(String name, Object value) {
        if (attributes == null) {
            synchronized (this) {
                if (attributes == null) {
                    attributes = new ConcurrentHashMap<String, Object>(4);
                }
            }
        }
        this.attributes.put(name, value);
    }
73243
public WindupConfiguration setOptionValue(String name, Object value)
    {
        configurationOptions.put(name, value);
        return this;
    }
479557
public void setCustomProperty(String name, String value) {
		if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
			SibTr.entry(tc, "setCustomProperty", name + " " + value);

		// Set the properties that belong to the bus
		// customProperties.put(name,value);

		if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
			SibTr.exit(tc, "setCustomProperty");
	}
1008413
public void addAdditionalInfo(String name, String value) {

        getAdditionalInfo().add(new CmsAdditionalInfoBean(name, value, null));
    }
59933
public AcceptableUsagePolicyStatus addProperty(final String name, final Object value) {
        this.properties.put(name, value);
        return this;
    }
1363693
public AcceptableUsagePolicyStatus setProperty(final String name, final Object value) {
        this.properties.remove(name);
        addProperty(name, value);
        return this;
    }
861808
@JsonAnySetter
    public void set(final String name, final String value) {
        other.put(name, value);
    }
1335473
public void set(String name, String value)
    {
        HeaderName hn = getHeaderName(name);
        set(hn, value);
    }
270857
public Processor setProperty(final String name, final String value) {
        args.put(name, value);
        return this;
    }
1220372
public void add(String name, Object value) {
		if (value != null) {
			this.content.put(name, value);
		}
	}
203502
public static void setAdditionalPreference(CmsObject cms, String key, String value) {

        CmsUser user = cms.getRequestContext().getCurrentUser();
        CmsUserSettings settings = new CmsUserSettings(user);
        settings.setAdditionalPreference(key, value);
        try {
            settings.save(cms);
        } catch (CmsException e) {
            LOG.error("Could not store preference " + key + ": " + e.getLocalizedMessage(), e);
        }
    }
1089511
public static void set(String name, double value) {
    set(MonitorConfig.builder(name).build(), value);
  }
497947
protected function addOption(string $name, string $value): void
    {
        $this->options[$name] = $value;
    }
773215
@JsonAnySetter
	public void setSupplementaryDataValue(String name, String value) {
		supplementaryData.put(name, value);
	}
717555
public function setOption(string $name, string $value): void
    {
        $this->options[$name] = $value;
    }
954903
@Override
    public void setProperty(String name, Object value) {
        if (currentBeanConfig != null) {
            setPropertyOnBeanConfig(name, value);
        }
    }