[squeak-dev] Properties of "<" in SortedCollection>>#sortBlock -
reflexive, symmetric, transitive required?
Milan Zimmermann
milan.zimmermann at sympatico.ca
Sun May 4 10:39:55 UTC 2008
Hi,
Is the "<" opertaion in SortedCollection>>#sortBlock required to be reflexive,
symmetric and transitive ?
I have a set of classes with known parent class and try to sort them so they
install into the image in the right order (parent first). The obvious "<"
implementation of parent < child may not be enough because it not transitive
unless I do some more sophisticated manipulation (I only immediate descendant
relationship)..
The sortBlock documentation provides no help on this...
Thanks Milan
More information about the Squeak-dev
mailing list
|