|
module1 : {
|
|
v1: Vector<Int>(),
|
|
v2: Vector<String>(),
|
|
v3: Vector<Int>([1,2,3,4]),
|
|
v4: Vector<String>(["one","two","three"]),
|
|
// the type of vector values can automaticaly deduced
|
|
v5: [1.0, 2.5, 8.6], // Vector<Double>
|
|
v6: ["one","two","three"] // Vector<String>
|
|
}
|