jastrachan | 4 Mar 08:57 2005
Picon

Re: what about sets?

On 4 Mar 2005, at 07:52, jastrachan@... wrote:
> On 2 Mar 2005, at 15:26, Jeremy Rayner wrote:
>> I'm hoping it's something like these...
>>
>> def x = [1,2,3] as Set
>> def y = [4,5,6] as HashSet
>> Set z = [7,8,9]
>
> Looks good to me :)

BTW we should use this to handle any collection too

LinkedList list = [1, 2, 3]

etc

def y = [1, 2, 3] as SortedList

etc

James
-------
http://radio.weblogs.com/0112098/


Gmane