Ah, so if you want normal just a collection - check HaXe http://www.haxe.org, or, here's some stuff I've written:
AS3: http://code.google.com/p/e4xu/source/browse/trunk/#trunk/src/org/wvxvws/data There's doubly linked list, data set, and typed dictionary, RBTree is worked on... I've also made several templates, to mimic generics behavior: http://code.google.com/p/e4xu/source/browse/trunk/#trunk/templates And, here's an analogue of TreeMap (not exactly, it's more of a String Hash mixed with TreeMap), HaXe, again: http://code.google.com/p/e4xu/source/browse/trunk/#trunk/haxe/src/org/wvxvws/collections Best. Oleg

