AS3Collections is a project based on the Java Collections Framework with 95% of unit testing line coverage. It aims to be a standard solution for data structures (e.g. Lists, Maps, Queues) for any Flash/Flex/AIR AS3 application or framework.

AS3Collections implements only the most relevant objects of the Java Collections Framework, and is different in some aspects where it makes sense to the AS3 context. So its not intended to be a porting.

The ASDoc is also based on the Java Collections Framework documentation.

Here are some of the implementations provided by the library:

  • ArrayList, TypedList, SortedList
  • LinearQueue, TypedQueue, PriorityQueue
  • ArrayListMap, SortedArrayListMap, HashMap
  • and more…


For more information see the docs.