comp.lang.ada
 help / color / mirror / Atom feed
From: Ehud Lamm <mslamm@mscc.huji.ac.il>
Subject: Re: Lists
Date: 2000/03/23
Date: 2000-03-23T07:25:06+00:00	[thread overview]
Message-ID: <Pine.A41.3.96-heb-2.07.1000323092425.84674A-100000@pluto.mscc.huji.ac.il> (raw)
In-Reply-To: 38D8F2C9.691B6CCB@bton.ac.uk

|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!







  reply	other threads:[~2000-03-23  0:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <003b01bf92ac$6c14dcc0$97c2f4d8@andrs>
2000-03-22  0:00 ` Lists John English
2000-03-23  0:00   ` Ehud Lamm [this message]
2000-03-30  0:00 ` Multiprecisions numbers in ada DELCOURT J�r�me
2000-03-31  0:00   ` DELCOURT J�r�me
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox