Code example for LinkedHashMap

Methods: isEmptyclear

	 * This API completely clears the internal image cache. Should be used only in emergency. 
	public void decache() { 
		if(!imageCache.isEmpty()) {
			imageCacheSize = 0;
	 * This API is exposed to user to do manual tag based purging. So once they have passed tags along with 
	 * image requests and they choose to purge all those images associated with specific tag name can be purged. 
	 * @param tag tag string to purge with. 
	public void decacheByTag(String tag) {
		if(tag != null) {
			if(tagMap.containsKey(tag)) {
Contextual code suggestions in your IDE  Get Codota for Java