com.android.ide.common.caching
Interface CreatingCache.ValueFactory<K,V>

Type Parameters:
K - the type of the key
V - the type of the value
Enclosing class:
CreatingCache<K,V>

public static interface CreatingCache.ValueFactory<K,V>

A factory creating values based on keys.


Method Summary
 V create(K key)
          Creates a value based on a given key.
 

Method Detail

create

@NonNull
V create(@NonNull
                 K key)
Creates a value based on a given key.

Parameters:
key - the key
Returns:
the value