SortedCollection.st
branchjv
changeset 19137 199b5e15b1da
parent 19103 71257a47eba2
parent 19129 2eb40b36db22
child 20079 8d884971c2ed
equal deleted inserted replaced
19127:940613fe6659 19137:199b5e15b1da
   866         initialIndex < firstIndex ifTrue:[
   866         initialIndex < firstIndex ifTrue:[
   867             initialIndex := firstIndex
   867             initialIndex := firstIndex
   868         ]
   868         ]
   869     ].
   869     ].
   870 
   870 
   871     "the complex case: the collection may include elements, which are odered only by
   871     "the complex case: the collection may include elements, which are ordered only by
   872      a single component (e.g. Associations by key). So we have to test all
   872      a single component (e.g. Associations by key). So we have to test all
   873      previous and next elements having the same component"
   873      previous and next elements having the same component"
   874 
   874 
   875     "for previous elements: while element is not smaller and not larger than anObject ... compare"
   875     "for previous elements: while element is not smaller and not larger than anObject ... compare"
   876     index := initialIndex.
   876     index := initialIndex.