views:

771

answers:

4

Is there any open source collection framework, written in ActionScript that would emulate HashMap, HashSet, LinkedHashMap and LinkedHashSet Java class implementations.

+2  A: 

Eric Feminella's HashMap is very nice.

Joel Hooks
+1  A: 

Check the Lite Collections for ActionScript 3. We are currently talking with the author about making this an AS3Commons project.

Christophe Herreman
+2  A: 

Hi,

Have a look at AS3 Data Structures (AS3Ds) by polygonal

OXMO456
+4  A: 

AS3Commons Collections (formerly Lite Collections) include (besides others):

  • Set, LinkedSet, SortedSet
  • Map, LinkedMap, SortedMap

The project is currently the first address for a serious AS collections framework: It consists of a high level framework architecture, the most comprehensive set of different collections and the fastest collection implementations which hardly can be beaten (since almost only bare algorithms are in use).

http://sibirjak.com/blog/index.php/lite-collections/

And, yes, I am the author :-)

Jens Struwe