作者:莪系坏女孩2010 | 来源:互联网 | 2023-08-12 09:30
Instead of this:
而不是这个:
var v:Vector. = new Vector.();
is there any way to do something like this?
有没有办法做这样的事情?
var myType:Class = String;
var v:Vector. = new Vector.();
Obviously that doesn't work as written, but hopefully you get the idea.
显然这不符合书面形式,但希望你能得到这个想法。
3 个解决方案