MCPcopy Index your code
hub / github.com/bazelbuild/bazel / immutableCopyOf

Method immutableCopyOf

src/main/java/net/starlark/java/eval/Dict.java:495–497  ·  view source on GitHub ↗

Returns an immutable dict containing the entries of m.

(Map<? extends K, ? extends V> m)

Source from the content-addressed store, hash-verified

493
494 /** Returns an immutable dict containing the entries of {@code m}. */
495 public static <K, V> Dict<K, V> immutableCopyOf(Map<? extends K, ? extends V> m) {
496 return copyOf(null, m);
497 }
498
499 /** Returns a new empty Dict.Builder. */
500 public static <K, V> Builder<K, V> builder() {

Callers

nothing calls this directly

Calls 1

copyOfMethod · 0.95

Tested by

no test coverage detected