Read Me - Common Public License V1.0 - Copyright Notice(©)

new (Class Method)


>>-new(items,indexes)-----------------------------------------><

Returns a new supplier object. The [items] argument must be an array of objects over which the supplier iterates. The [indexes] argument is an array of index values with a one-to-one correspondence to the objects contained in the [items] array. The created supplier iterates over the arrays, returning elements of the values array in response to [items] messages, and elements of the indexes array in response to [index] messages. The supplier iterates for the number of items contained in the values array, returning the Nil object for any nonexistent items in either array.

Read Me - Common Public License V1.0 - Copyright Notice(©)