Xref: utzoo comp.lang.misc:7159 comp.object:2958 Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!elroy.jpl.nasa.gov!swrinde!cs.utexas.edu!uunet!cimshop!davidm From: cimshop!davidm@uunet.UU.NET (David S. Masterson) Newsgroups: comp.lang.misc,comp.object Subject: Re: CHALLENGE: heterogeneous collections Message-ID: Date: 29 Mar 91 03:26:51 GMT References: <1991Mar25.220525.11087@leland.Stanford.EDU> <1991Mar26.101051.29527@irisa.fr> <519@eiffel.UUCP> Sender: davidm@cimshop.UUCP Distribution: comp Organization: Consilium Inc., Mountain View, California Lines: 20 In-reply-to: bertrand@eiffel.UUCP's message of 27 Mar 91 17:24:32 GMT >>>>> On 27 Mar 91 17:24:32 GMT, bertrand@eiffel.UUCP (Bertrand Meyer) said: Bertrand> To handle heterogeneous collections without endangering static Bertrand> typing, use genericity (Eiffel syntax): Bertrand> class COLLECTION [G] ... Is this a heterogeneous collection (one collection object containing many objects of many types) or a generic collection class (a collection class that may be defined to contain any *single* type of object [which may have multiple parent types])? Next contestant? -- ==================================================================== David Masterson Consilium, Inc. (415) 691-6311 640 Clyde Ct. uunet!cimshop!davidm Mtn. View, CA 94043 ==================================================================== "If someone thinks they know what I said, then I didn't say it!"