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

Static methods

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

add the item to the collection

Parameters:

collection

an Array or a List of T class objects

item

an object of class T

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

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