Code example for LruCache

Methods: getput

0
		if (getFolderBitmap(key) != null) {
			return; 
		} 
		 
		if (getBitmap(key) == null) {
			mContentCache.put(key, bm);
		} 
	} 
 
	public Bitmap getBitmap(long key) {
		Bitmap bm = getFolderBitmap(key);
		if (bm != null) return bm;
		return mContentCache.get(key);
	} 
	 
	public void clearAll() { 
		clearContent(); 
		clearFolder(); 
	} 
	 
	public void clearContent() {