Convenience wrapper for {@link #setFilterOr(java.util.Map)}.

@param nameValuePairs A valid map of name=value pairs.
@see #setFilterOr(java.util.Map)
962157
public void setFilterOr( final Properties nameValuePairs )
    {
        if ( nameValuePairs == null )
        {
            throw new NullPointerException();
        }

        final Map<String, String> newMap = new HashMap<>();
        for ( Enumeration enumer = nameValuePairs.propertyNames(); enumer.hasMoreElements(); )
        {
            final String name = ( String ) enumer.nextElement();
            newMap.put( name, nameValuePairs.getProperty( name ) );
        }
        setFilterOr( newMap );
    }
1250442
public void addParameter(NameValuePair param) 
    throws IllegalArgumentException {
        log.trace("enter PostMethod.addParameter(NameValuePair)");

        if (param == null) {
            throw new IllegalArgumentException("NameValuePair may not be null");
        }
        addParameter(param.getName(), param.getValue());
    }
886340
public void setValues(java.util.Collection<String> values) {
        if (values == null) {
            this.values = null;
            return;
        }

        this.values = new java.util.ArrayList<String>(values);
    }
1292376
public CmsUrlNameMappingFilter filterNamePattern(String namePattern) {

        if (namePattern == null) {
            throw new IllegalArgumentException();
        }
        CmsUrlNameMappingFilter result = new CmsUrlNameMappingFilter(this);
        result.m_namePattern = namePattern;
        return result;
    }
819369
public static List<NameValuePair> toNameValuePair(Object parent, Map<String, String> map) {
		List<NameValuePair> list = new ArrayList<NameValuePair>();
		for (String key : map.keySet()) {
			NameValuePair nvp = new NameValuePair(parent, key, map.get(key));
			list.add(nvp);
		}
		return list;
	}
294193
public AnnotationValueBuilder<T> member(String name, @Nullable AnnotationValue<?>... annotations) {
        if (annotations != null) {
            values.put(name, annotations);
        }
        return this;
    }
98970
@JsonAnySetter
    public void setOthers(String name, Object value) {
        if(name.startsWith("_")) {
            // Just be defensive
            throw new RuntimeException("This is a reserved field, and should not be treated as document content.");
        }
        this.others.put(name, value);
    }
522391
public void setParameters(String nameParam, String typeParam, String value) {
        this.parameters.put(nameParam, typeParam);
        this.parametersValue.add(value);
    }
575820
public void setValues(Map<String,Object> values)
    {
        this.values.clear();
        this.values.putAll(values);
    }
1223949
public void setEnumerationValues(java.util.Collection<EnumerationValue> enumerationValues) {
        if (enumerationValues == null) {
            this.enumerationValues = null;
            return;
        }

        this.enumerationValues = new java.util.ArrayList<EnumerationValue>(enumerationValues);
    }
266182
public synchronized void setUserAgent(String applicationName,
            String applicationVersion, String programmingLanguage,
            String... additionalNameValuePairs) {
        checkUpdatable();
        StringBuilder b = new StringBuilder();
        b.append(applicationName);
        b.append("/");
        b.append(applicationVersion);
        b.append(" (Language=");
        b.append(programmingLanguage);
        int i = 0;
        while (i < additionalNameValuePairs.length) {
            String name = additionalNameValuePairs[i];
            String value = additionalNameValuePairs[i + 1];
            b.append("; ");
            b.append(name);
            b.append("=");
            b.append(value);
            i += 2;
        }
        b.append(")");
        this.userAgent = b.toString();
    }
533376
public VaadinForHeroku withFilterMapping(final FilterMapBuilder... filterMaps){
        checkVarArgsArguments(filterMaps);
        this.filterMaps.addAll(Arrays.asList(filterMaps));
        return self();
    }
169208
@SuppressWarnings("unchecked")
  <P> void setValues(T bean, List<String> values) {
    Collection<P> col;
    try {
      col = (Collection<P>) listType.newInstance();
    } catch (InstantiationException e) {
      throw new RuntimeException("Can't instantiate " + listType, e);
    } catch (IllegalAccessException e) {
      throw new RuntimeException("Can't access default constructor of " + listType);
    }
    for (String value : values) {
      col.add((P) converter.fromCharacters(value));
    }
    ref.writeValue(col, bean);
  }
464358
public void modifyServiceProvider(final Map<String, Object> changedValues) {
        AddressTemplate template = SERVICE_PROVIDER_TEMPLATE.replaceWildcards(federation, serviceProvider);
        modify(template, serviceProvider, changedValues);
    }
166332
public void setParameter(String name, Collection<String> values) {
		parameters.replace(name, values);
	}
959034
public void setIdentityAttributeValues(java.util.Collection<AttributeNameAndValue> identityAttributeValues) {
        if (identityAttributeValues == null) {
            this.identityAttributeValues = null;
            return;
        }

        this.identityAttributeValues = new java.util.ArrayList<AttributeNameAndValue>(identityAttributeValues);
    }
1248475
public void setFilteredValue(final java.util.List _filteredValue) {
        getStateHelper().put(PropertyKeys.filteredValue, _filteredValue);
    }