This function creates a Vector from the elements passed in the function parameters. The number of parameters may be from zero to unlimited. The underlying Java object representing the Vector is an instance of java.util.Vector class.

Note: When a parameter represents an enumeration (i.e. an instance of java.util.Enumeration or java.util.Iterator Java class), all elements contained in that enumeration are added to the result Vector in place of that parameter.

Examples:

The following call creates an empty Vector (same as in Java: new Vector()):

Vector()
The following creates a Vector of three Number objects:
Vector(1,2,3)
This creates a Vector of three String objects:
Vector("1","2","3")