MCPcopy Create free account
hub / github.com/antlr/codebuff / parametersAsMap

Method parametersAsMap

output/java_guava/1.4.17/MediaType.java:696–703  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

694 }
695
696 private Map<String, ImmutableMultiset<String>> parametersAsMap() {
697 return Maps.transformValues(parameters.asMap(), new Function<Collection<String>, ImmutableMultiset<String>>() {
698 @Override
699 public ImmutableMultiset<String> apply(Collection<String> input) {
700 return ImmutableMultiset.copyOf(input);
701 }
702 });
703 }
704
705 /**
706 * Returns an optional charset for the value of the charset parameter if it is specified.

Callers 2

equalsMethod · 0.95
hashCodeMethod · 0.95

Calls 2

transformValuesMethod · 0.95
asMapMethod · 0.65

Tested by

no test coverage detected