Android.Util.LruCache: Method Members

The methods of Android.Util.LruCache are listed below. For a list of all members, see the LruCache Members list.

See Also: Inherited members from Java.Lang.Object

Public Methods

CreateCount() : int
Returns the number of times LruCache.create(K) returned a value.
EvictAll()
Clear the cache, calling LruCache.entryRemoved(boolean, K, V, V) on each removed entry.
EvictionCount() : int
Returns the number of values that have been evicted.
Get(Java.Lang.Object) : Java.Lang.Object
Documentation for this section has not yet been entered.
HitCount() : int
Returns the number of times LruCache.get(K) returned a value that was already present in the cache.
MaxSize() : int
For caches that do not override LruCache.sizeOf(K, V), this returns the maximum number of entries in the cache.
MissCount() : int
Returns the number of times LruCache.get(K) returned null or required a new value to be created.
Put(Java.Lang.Object, Java.Lang.Object) : Java.Lang.Object
Documentation for this section has not yet been entered.
PutCount() : int
Returns the number of times LruCache.put(K, V) was called.
Remove(Java.Lang.Object) : Java.Lang.Object
Documentation for this section has not yet been entered.
Resize(int)
Sets the size of the cache.
Size() : int
For caches that do not override LruCache.sizeOf(K, V), this returns the number of entries in the cache.
Snapshot() : IDictionary
Returns a copy of the current contents of the cache, ordered from least recently accessed to most recently accessed.
override
ToString() : string
Returns a string containing a concise, human-readable description of this object.
TrimToSize(int)
Remove the eldest entries until the total of remaining entries is at or below the requested size.

Protected Methods

Create(Java.Lang.Object) : Java.Lang.Object
Documentation for this section has not yet been entered.
EntryRemoved(bool, Java.Lang.Object, Java.Lang.Object, Java.Lang.Object)
Documentation for this section has not yet been entered.
SizeOf(Java.Lang.Object, Java.Lang.Object) : int
Documentation for this section has not yet been entered.