helper class for Listview & Table it is usefull because their real source Iterable type (List or Array) is unknown (generic)

Static methods

staticadd (collection:Iterable<Dynamic>, item:Dynamic):Iterable<Dynamic>

add the item to the collection

Parameters:

collection

an Array or a List of T class objects

item

an object of class T

staticget (collection:Iterable<Dynamic>, itemPos:Int):Dynamic

get the n'th item from the collection

Parameters:

collection

an Array or a List of T class objects

itemPos

the position of the item to retrieve ([0..collection.length[)

Returns:

an object of class T