What\'s the best way to convert an Object array to a Vector?
JDE < 1.5
public Vector getListElements() { Vector myVector = this.elements; retu
A reasonably concise way to do it is something like:
Object[] xx = { 1, "cat", new Point(100,200) }; Vector vv = new Vector(Arrays.asList(xx)); System.out.println("vv=="+vv.toString());
But y'all knew that already, I guess.