MCPcopy Index your code
hub / github.com/google/dagger / put

Method put

java/dagger/internal/MapProviderFactory.java:66–69  ·  view source on GitHub ↗

Associates key with providerOfValue.

(K key, Provider<V> providerOfValue)

Source from the content-addressed store, hash-verified

64
65 /** Associates {@code key} with {@code providerOfValue}. */
66 public Builder<K, V> put(K key, Provider<V> providerOfValue) {
67 map.put(checkNotNull(key, "key"), checkNotNull(providerOfValue, "provider"));
68 return this;
69 }
70
71 /** Returns a new {@link MapProviderFactory}. */
72 public MapProviderFactory<K, V> build() {

Callers

nothing calls this directly

Calls 1

checkNotNullMethod · 0.80

Tested by

no test coverage detected