FileDocCategorySizeDatePackage
SimpleCache.javaAPI DocAndroid 1.5 API1009Wed May 06 22:42:02 BST 2009android.test

SimpleCache

public abstract class SimpleCache extends Object

Fields Summary
private Map
map
Constructors Summary
Methods Summary
final Vget(K key)


        

        
        if (map.containsKey(key)) {
            return map.get(key);
        }
        V value = load(key);
        map.put(key, value);
        return value;
    
protected abstract Vload(K key)