equal
deleted
inserted
replaced
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. |