Strongly typed collection with multiple base types in ActionScript (Vector )?

Does ActionScript have any way of handling a strongly typed list with multiple base types?

I am actually looking for something such as a Vector ?

Is it possible?

Or is the only way of doing it is creating my own class which accepts lets say a String and Number in the constructor and create a Vector out of that class?

6
задан Ranhiru Jude Cooray 23 March 2011 в 09:23
поделиться