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

前端 未结 6 2060
遇见更好的自我
遇见更好的自我 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:28

    With Apache Flex 4.11.0, you can already do what you want. It might have been there since 4.9.0, but I have not tried that before.

提交回复
热议问题