Is it possible to define a generic type Vector in Actionsctipt 3?

前端 未结 6 2065
遇见更好的自我
遇见更好的自我 2021-02-08 22:04

Hi i need to make a VectorIterator, so i need to accept a Vector with any type. I am currently trying to define the type as * like so:

var collection:Vector.<         


        
6条回答
  •  暖寄归人
    2021-02-08 22:46

    var collection:Vector. = new Vector.()
    
    
    

    but only on targeting flash player 10 cs4

    提交回复
    热议问题