Newsgroups: comp.lang.smalltalk
Path: cantaloupe.srv.cs.cmu.edu!das-news2.harvard.edu!news2.near.net!howland.reston.ans.net!gatech!swrinde!cs.utexas.edu!news.ti.com!ticipa!clw
From: clw@ticipa.pac.sc.ti.com (Chris Winemiller)
Subject: Re: Assistance Required:  Dictionaries
Message-ID: <1995Mar19.060734.14385@ticipa.pac.sc.ti.com>
Organization: None
References: <D5n7vo.5vz@cunews.carleton.ca>
Date: Sun, 19 Mar 1995 06:07:34 GMT
Lines: 17

In article <D5n7vo.5vz@cunews.carleton.ca> gsmith@chat.carleton.ca (Glen Smith) writes:
>
>	Assistance is required for a programming problem I am having
>in trying to put two or more of the same objects at the same key in a
>Dictionary.  For example, if you have two cars of given type (Ford)
>with obviously different license plates, how do you store these
>objects (the cars) under the same key (Car type).  I know its easy to
>do this with other containers like OrderedCollections.  But how do you
>do it with Dictionaries?

At the key, put some kind of collection that will hold your cars.

Chris
==============================================================
Chris Winemiller               Internet: clw@works.ti.com
Disclaimer: I do not speak for TI.
==============================================================
