Vector Vector Constructors

Definition

Overloads

Vector()

Constructs a new vector using the default capacity.

Vector(ICollection) Vector(ICollection)
Vector(Int32) Vector(Int32)

Constructs a new vector using the specified capacity.

Vector(Int32, Int32) Vector(Int32, Int32)

Constructs a new vector using the specified capacity and capacity increment.

Vector(IntPtr, JniHandleOwnership) Vector(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

Vector()

Constructs a new vector using the default capacity.

[Android.Runtime.Register(".ctor", "()V", "")]
public Vector ();

Remarks

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.

Vector(ICollection) Vector(ICollection)

[Android.Runtime.Register(".ctor", "(Ljava/util/Collection;)V", "")]
public Vector (System.Collections.ICollection c);
new Java.Util.Vector : System.Collections.ICollection -> Java.Util.Vector

Parameters

Remarks

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.

Vector(Int32) Vector(Int32)

Constructs a new vector using the specified capacity.

[Android.Runtime.Register(".ctor", "(I)V", "")]
public Vector (int initialCapacity);
new Java.Util.Vector : int -> Java.Util.Vector

Parameters

initialCapacity
Int32 Int32

Exceptions

Remarks

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.

Vector(Int32, Int32) Vector(Int32, Int32)

Constructs a new vector using the specified capacity and capacity increment.

[Android.Runtime.Register(".ctor", "(II)V", "")]
public Vector (int initialCapacity, int capacityIncrement);
new Java.Util.Vector : int * int -> Java.Util.Vector

Parameters

initialCapacity
Int32 Int32
capacityIncrement
Int32 Int32

Exceptions

Remarks

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.

Vector(IntPtr, JniHandleOwnership) Vector(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

protected Vector (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Java.Util.Vector : nativeint * Android.Runtime.JniHandleOwnership -> Java.Util.Vector

Parameters

javaReference
IntPtr IntPtr

A IntPtrcontaining a Java Native Interface (JNI) object reference.

transfer
JniHandleOwnership JniHandleOwnership

A JniHandleOwnershipindicating how to handle javaReference

Remarks

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