Example usage for Java android.support.v4.util LruCache fields, constructors, methods, implement or subclass
The text is from its open source code.
int | maxSize |
V | get(K key) Returns the value for key if it exists in the cache or can be created by #create . |
V | put(K key, V value) Caches value for key . |
V | remove(K key) Removes the entry for key if it exists. |
Map | snapshot() Returns a copy of the current contents of the cache, ordered from least recently accessed to most recently accessed. |
void | trimToSize(int maxSize) |