Code example for LruCache

Methods: getput

0
  } 
   
  public void addBitmapToMemoryCache(String key, Bitmap bitmap)
  { 
    if (getBitmapFromMemoryCache(key) == null )
	  mMemoryCache.put(key, bitmap);
  } 
   
  public Bitmap getBitmapFromMemoryCache(String key)
  { 
	return mMemoryCache.get(key);
  } 
} 
Stop searching for code, let great code find you!  Add Codota to your java IDE