This apply with EcmaScript 4.0,Francis Cheng made a clear explanation of how to use Type Parameters to add type checking in a collection class.
Very useful, now when will AS3 and JS be compatible with this new format ? Well be patient (and try to stay young and fresh :p)
Ahmet