Code example for LruCache

Methods: getput

0
	  
	} 
 
	public void addBitmapToMemoryCache(String key, Bitmap bitmap) {
	    if (getBitmapFromMemCache(key) == null) {
	        mMemoryCache.put(key, bitmap);
	    } 
	} 
 
	public Bitmap getBitmapFromMemCache(String key) {
	    return mMemoryCache.get(key);
	} 
} 
Experience pair programming with AI  Get Codota for Java