MCPcopy Index your code
hub / github.com/antlr/codebuff / asMap

Method asMap

output/java_guava/1.4.17/Maps.java:762–764  ·  view source on GitHub ↗

Returns a live Map view whose keys are the contents of set and whose values are computed on demand using function. To get an immutable copy instead, use #toMap(Iterable, Function). Specifically, for each k in the backing set, the returned map has an

(Set<K> set, Function<? super K, V> function)

Source from the content-addressed store, hash-verified

760
761
762 public static <K, V> Map<K, V> asMap(Set<K> set, Function<? super K, V> function) {
763 return new AsMapView<K, V>(set, function);
764 }
765
766 /**
767 * Returns a view of the sorted set as a map, mapping keys from the set

Callers 4

nodeConnectionsOfMethod · 0.95
toStringMethod · 0.95
nodeToIncidentEdgesMethod · 0.95
nodeToAdjacentNodesMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected