Java android.support.v4.util LruCache fields, constructors, methods, implement or subclass

Example usage for Java android.support.v4.util LruCache fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for android.support.v4.util LruCache.

The text is from its open source code.

Subclass

android.support.v4.util.LruCache has subclasses.
Click this link to see all its subclasses.

Field

Constructor

Method

Vget(K key)
Returns the value for key if it exists in the cache or can be created by #create .
Vput(K key, V value)
Caches value for key .
Vremove(K key)
Removes the entry for key if it exists.
Mapsnapshot()
Returns a copy of the current contents of the cache, ordered from least recently accessed to most recently accessed.
voidtrimToSize(int maxSize)