Add a property source for the given map.

@param name   The name of the property source
@param values The values
@return This environment
774969
public PropertySourcePropertyResolver addPropertySource(String name, @Nullable Map<String, ? super Object> values) {
        if (CollectionUtils.isNotEmpty(values)) {
            return addPropertySource(PropertySource.of(name, values));
        }
        return this;
    }
1242335
public void set(String name, String value) {
    if (deprecatedKeyMap.isEmpty()) {
      getProps();
    }
    getOverlay().setProperty(name, value);
    getProps().setProperty(name, value);
    updatingResource.put(name, UNKNOWN_RESOURCE);
    String[] altNames = getAlternateNames(name);
    if (altNames != null && altNames.length > 0) {
      for (String altName : altNames) {
        getOverlay().setProperty(altName, value);
        getProps().setProperty(altName, value);
      }
    }
    warnOnceIfDeprecated(name);
  }
1325694
public ResourceInjection byMappedName(final String name) {

        final ResourceLiteral resource = new ResourceLiteral();
        resource.setMappedName(name);
        matchingResources.add(resource);
        return this;
    }
919793
public QueryParameterWrap addParameters(String name, Collection<?> values) {
		this.namedParameter.put(name, values);
		return this;
	}
557526
public VarBindingBuilder has( String name, Object value)
    {
    varBinding_.setAnnotation( name, Objects.toString( value, null));
    return this;
    }
825729
public void addValueTo(Object value, String name) {
        getMapHelper().addValueToIn(value, name, getCurrentValues());
    }
1068099
public Query addParameter(String name, final Collection<?> values) {
        if(values == null) {
            throw new NullPointerException("Array parameter cannot be null");
        }

        return addParameter(name, values.toArray());
    }
610366
public static CmsEntityAttribute createSimpleAttribute(String name, List<String> values) {

        CmsEntityAttribute result = new CmsEntityAttribute();
        result.m_name = name;
        result.m_simpleValues = Collections.unmodifiableList(values);
        return result;
    }
1192794
public List<V> put(String name, V value) {
        if (value == null) {
            return super.put(name, null);
        }
        List<V> vals = new ArrayList<>();
        vals.add(value);
        return put(name, vals);
    }
1234749
public void put(String name, String... values) {
    getMap().put(name, Arrays.asList(values));
  }
12050
public void addCollectionAttribute(String name, Object value) {
        List<Object> attributeValues = getCollectionAttribute(name);
        attributeValues.add(value);
    }
91024
public void addValueToIn(Object value, String name, Map<String, Object> map) {
        getMapHelper().addValueToIn(value, name, map);
    }
345222
public void add(String name, V value) {
        List<V> lo = get(name);
        if (lo == null) {
            lo = new ArrayList<>();
        }
        lo.add(value);
        super.put(name, lo);
    }
854905
public void add(String name, Map<?, ?> value) {
		if (value != null) {
			this.content.put(name, value);
		}
	}
355378
public void setValuesFor(String values, String name) {
        getMapHelper().setValuesForIn(values, name, getCurrentValues());
    }
327033
public void addToConfiguration(String name, String value) {
        if (this.sessionConfigProperties == null) {
            this.sessionConfigProperties = new Properties();
        }
        this.sessionConfigProperties.setProperty(name, value);
    }
313310
public void put(String name, String value) {
    List<String> list = new ArrayList<>();
    list.add(value);
    getMap().put(name, list);
  }