From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,28efdda00d725591 X-Google-Attributes: gid103376,public From: Ehud Lamm Subject: Re: Lists Date: 2000/03/23 Message-ID: #1/1 X-Deja-AN: 601202693 References: <003b01bf92ac$6c14dcc0$97c2f4d8@andrs> <38D8F2C9.691B6CCB@bton.ac.uk> Content-Type: TEXT/PLAIN; charset=US-ASCII X-Complaints-To: usenet@news.huji.ac.il X-Trace: news.huji.ac.il 953796306 15581 132.64.178.45 (23 Mar 2000 07:25:06 GMT) Organization: The Hebrew University of Jerusalem Mime-Version: 1.0 NNTP-Posting-Date: 23 Mar 2000 07:25:06 GMT Newsgroups: comp.lang.ada Date: 2000-03-23T07:25:06+00:00 List-Id: |Fortier Andres wrote: |> Hi, |> I need to make a package that contains a sort of heterogeneous list. |> This is the deal: |> There is a hierarchy of objects, and all of them are |> subclasses of Object. I need the list to be able to hold any object of that |> hierarchy, but the idea is not to have to instantiate a package for every |> type the list is going to hold. |> Any idea? | I think the "simple polymorphic list" example 9on my site, and on adapower) shows how to do this. Ehud Lamm mslamm@mscc.huji.ac.il http://purl.oclc.org/NET/ehudlamm <== My home on the web Check it out and subscribe to the E-List- for interesting essays and more!