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

Method empty

src/main/java/net/starlark/java/eval/Dict.java:438–441  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

436 /** Returns an immutable empty dict. */
437 // Safe because the empty singleton is immutable.
438 @SuppressWarnings("unchecked")
439 public static <K, V> Dict<K, V> empty() {
440 return (Dict<K, V>) EMPTY;
441 }
442
443 /** Returns a new empty dict with the specified mutability. */
444 public static <K, V> Dict<K, V> of(@Nullable Mutability mu) {

Callers 15

testDataTypeNamesMethod · 0.95
wrapMethod · 0.95
ofMethod · 0.95
copyOfMethod · 0.95
noneableCastMethod · 0.95
JacocoLCOVFormatterMethod · 0.45
convertMethod · 0.45
toJavaOptionalMethod · 0.45
subListMethod · 0.45
repeatMethod · 0.45

Calls

no outgoing calls

Tested by 3

testDataTypeNamesMethod · 0.76
JacocoLCOVFormatterMethod · 0.36