Export (0) Print
Expand All

Vector Constructor (Collection)

Visual Studio 2005

Initializes a new instance of a Vector object with the elements in the given collection.

Package: java.util

Assembly: vjslib (in vjslib.dll)


public java.util.Vector(
    java.util.Collection c);

Parameters

c

A collection whose elements are to be copied into the vector. The initial size of the vector is set to the same size as this collection. Only a shallow copy of these elements is performed.

Community Additions

ADD
Show:
© 2014 Microsoft