public class

LruMap

extends LinkedHashMap<K, V>
java.lang.Object
   ↳ java.util.AbstractMap<K, V>
     ↳ java.util.HashMap<K, V>
       ↳ java.util.LinkedHashMap<K, V>
         ↳ com.facebook.imagepipeline.debug.LruMap<A, B>

Class Overview

A map that provides a constant-size LRU map by ordering elements by accessing order (and not in insertion order) Most cases would be served better by using Android's LruCache class.

Summary

Public Constructors
LruMap(int maxEntries)
Protected Methods
boolean removeEldestEntry(Entry<A, B> eldest)
[Expand]
Inherited Methods
From class java.util.LinkedHashMap
From class java.util.HashMap
From class java.util.AbstractMap
From class java.lang.Object
From interface java.util.Map

Public Constructors

public LruMap (int maxEntries)

Protected Methods

protected boolean removeEldestEntry (Entry<A, B> eldest)