[Seaside] A litle question about Sets
Robert Sirois
watchlala at hotmail.com
Mon Mar 1 16:59:24 UTC 2010
Play around with it in workspace.
RS
> To: vladmanchev at gmail.com
> Subject: Re: [Seaside] A litle question about Sets
> From: merlyn at stonehenge.com
> Date: Mon, 1 Mar 2010 08:48:25 -0800
> CC: seaside at lists.squeakfoundation.org
>
> >>>>> "Michael" == Michael Delache <vladmanchev at gmail.com> writes:
>
> Michael> I defined an object called AlbumAuthor.
>
> A class, you mean?
>
> Michael> In an other object, Album, I putted a instance variable called authors which
> Michael> will contain the authors of the album.
>
> An instance of Album contains an instance variable called authors. OK.
>
> Michael> So, I would like to know if I can define the instance as a Set but
> Michael> containing only AlbumAuthor type objects.
>
> Sure. Add only AlbumAuthor objects, and that's all it will contain.
> Other objects don't magically jump in there.
>
> This question is better asked on the beginners@ list, not Seaside.
>
> --
> Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
> <merlyn at stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
> Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
> See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
_________________________________________________________________
Hotmail: Trusted email with Microsoft’s powerful SPAM protection.
http://clk.atdmt.com/GBL/go/201469226/direct/01/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20100301/32476fb1/attachment-0001.htm
More information about the seaside
mailing list