Aracılığıyla paylaş


Vector.Capacity Method

Definition

Returns the current capacity of this vector.

[Android.Runtime.Register("capacity", "()I", "GetCapacityHandler")]
public virtual int Capacity ();
[<Android.Runtime.Register("capacity", "()I", "GetCapacityHandler")>]
abstract member Capacity : unit -> int
override this.Capacity : unit -> int

Returns

the current capacity (the length of its internal data array, kept in the field elementData of this vector)

Attributes

Remarks

Returns the current capacity of this vector.

Java documentation for java.util.Vector.capacity().

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

See also