public UriTemplate set(Map<String, Object> values)
    {
        if (values != null && !values.isEmpty())
        {
            this.values.putAll(values);
        }
        return this;
    }
public UriTemplate set ( Map < String , Object > values ) { if ( values != null && ! values . isEmpty ( ) ) { this . values . putAll ( values ) ; } return this ; }
Adds the name/value pairs in the supplied {@link Map} to the collection
of values within this URI template instance.

@param values
@return
@since 1.0