Associates key with providerOfValue.
(K key, Provider<V> providerOfValue)
| 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() { |
nothing calls this directly
no test coverage detected