Lines Matching defs:key
17 * and call get() with the key and the data. The get() call will use the data
27 * In this case, it must do so consistently for the same key and data.
29 * @param <K> Cache lookup key type
40 public final V getInstance(K key, D data) {
46 // ConcurrentHashMap.putIfAbsent() never replaces the key's value, and if it were
49 Object mapValue = map.get(key);
65 value = createInstance(key, data);
68 // We had never cached an instance for this key.
69 V value = createInstance(key, data);
72 mapValue = map.putIfAbsent(key, mapValue);