Lines Matching defs:key
15 * implements the createInstance() method, and call get() with the key and the data.
19 * @param <K> Cache lookup key type
28 * Retrieves an instance from the cache. Calls createInstance(key, data) if the cache
29 * does not already contain an instance with this key.
30 * Ignores data if the cache already contains an instance with this key.
31 * @param key Cache lookup key for the requested instance
35 public abstract V getInstance(K key, D data);
37 * Creates an instance for the key and data. Must be overridden.
38 * @param key Cache lookup key for the requested instance
42 protected abstract V createInstance(K key, D data);