Java.Util.ArrayList.EnsureCapacity Method
Ensures that after this operation the ArrayList can hold the specified number of elements without further growing.

Syntax

[Android.Runtime.Register("ensureCapacity", "(I)V", "GetEnsureCapacity_IHandler")]
public virtual void EnsureCapacity (int minimumCapacity)

Parameters

minimumCapacity
the minimum capacity asked for.

Remarks

Ensures that after this operation the ArrayList can hold the specified number of elements without further growing.

[Android Documentation]

Requirements

Namespace: Java.Util
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1