[squeak-dev] The Trunk: Network-ul.121.mcz
commits at source.squeak.org
commits at source.squeak.org
Wed Nov 9 23:07:00 UTC 2011
Levente Uzonyi uploaded a new version of Network to project The Trunk:
http://source.squeak.org/trunk/Network-ul.121.mcz
==================== Summary ====================
Name: Network-ul.121
Author: ul
Time: 9 November 2011, 11:54:46.556 pm
UUID: 8ed37717-d190-0340-be63-7a2a1dc3717f
Ancestors: Network-mtf.120
Fixed UUID comparison, which should define a strict total order.
=============== Diff against Network-mtf.120 ===============
Item was changed:
----- Method: UUID>>< (in category 'comparing') -----
< aMagnitude
"Answer whether the receiver is less than the argument."
+ 1 to: self size do: [ :i |
+ | x y |
+ (x := self at: i) = (y := aMagnitude at: i) ifFalse: [ ^x < y ] ].
- 1 to: self size do: [:i |
- (self at: i) < (aMagnitude at: i) ifTrue: [^true]].
^false.!
More information about the Squeak-dev
mailing list
|