Dela via


LruCache.HitCount Method

Definition

Returns the number of times #get returned a value that was already present in the cache.

[Android.Runtime.Register("hitCount", "()I", "")]
public int HitCount ();
[<Android.Runtime.Register("hitCount", "()I", "")>]
member this.HitCount : unit -> int

Returns

Attributes

Remarks

Returns the number of times #get returned a value that was already present in the cache.

Java documentation for android.util.LruCache.hitCount().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to