MCPcopy
hub / github.com/google/guava / withParameters

Method withParameters

guava/src/com/google/common/net/MediaType.java:890–892  ·  view source on GitHub ↗

<em>Replaces</em> all parameters with the given parameters. @throws IllegalArgumentException if any parameter or value is invalid

(Multimap<String, String> parameters)

Source from the content-addressed store, hash-verified

888 * @throws IllegalArgumentException if any parameter or value is invalid
889 */
890 public MediaType withParameters(Multimap<String, String> parameters) {
891 return create(type, subtype, parameters);
892 }
893
894 /**
895 * <em>Replaces</em> all parameters with the given attribute with parameters using the given

Calls 13

createMethod · 0.95
normalizeTokenMethod · 0.95
builderMethod · 0.95
entriesMethod · 0.65
getKeyMethod · 0.65
equalsMethod · 0.65
putMethod · 0.65
getValueMethod · 0.65
getMethod · 0.65
checkNotNullMethod · 0.45
buildMethod · 0.45