Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ncar!boulder!gore!jacob From: jacob@gore.com (Jacob Gore) Newsgroups: comp.sys.next Subject: Using a List for an ordered set Message-ID: <130027@gore.com> Date: 13 Oct 89 23:02:40 GMT Reply-To: jacob@gore.com (Jacob Gore) Organization: Gore Enterprises Lines: 19 The documentation for class List says: List allows easy manipulation of collections of objects. Collections can be manipulated as fixed or variable sized lists, sets, or ordered collections. Is the author just being philosophical here, or is there really some way to make a List behave as an ordered collection or a set (or both)? In methods that "find object in the list", what is used to determine equality of objects -- the -isEqual: method of one of the two objects (if so, which one's?), or just comparison of their id's? Is there a plan to reproduce more of Stepstone's Foundation Library, or make a library of similar functionality? Needing an ordered set or at least an ordered collection, Jacob -- Jacob Gore Jacob@Gore.Com boulder!gore!jacob