How do I initialize a vector with an array of values?
I tried this and it complies fine, but does not work!
langs = new Vector.<String>(["en","fr"]);
I also need to load an arbitrary array into a vector, like this:
langlist = ["en","fr"];
langs = new Vector.<String>(langlist);
Is there a way to do this?