Multiple distinct objects: Difference between revisions
Content added Content deleted
(added RPL) |
imported>Arakov |
||
Line 478: | Line 478: | ||
// create a list of disting object |
// create a list of disting object |
||
fill(n) |
fill(n) |
||
= RangeEnumerator.new(1,n).selectBy:(x => new Foo()).toArray(); |
= RangeEnumerator.new(1,n).selectBy::(x => new Foo()).toArray(); |
||
// testing |
// testing |