Language

ArrayMap.EnsureCapacity(Int32) Method

Definition

Ensure the array map can hold at least <var>minimumCapacity</var> items.

[Android.Runtime.Register("ensureCapacity", "(I)V", "")]
public void EnsureCapacity(int minimumCapacity);
[<Android.Runtime.Register("ensureCapacity", "(I)V", "")>]
member this.EnsureCapacity : int -> unit

Parameters

minimumCapacity
Int32

The minimum number of mappings for which to provide storage.

Attributes

Remarks

Ensure the array map can hold at least <var>minimumCapacity</var> items.

Java documentation for android.util.ArrayMap.ensureCapacity(int).

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