The Trunk: 62Deprecated-mt.1.mcz
| Newsgroups | gmane.comp.lang.smalltalk.squeak.general |
|---|---|
| Message-ID | <[email protected]> |
Marcel Taeumel uploaded a new version of 62Deprecated to project The Trunk: http://source.squeak.org/trunk/62Deprecated-mt.1.mcz ==================== Summary ==================== Name: 62Deprecated-mt.1 Author: mt Time: 7 August 2026, 4:47:59.788073 pm UUID: 54ec18a2-e2d6-f041-a0cf-2181f505dc6e Ancestors: Complemenet Collections-mt.1120 ==================== Snapshot ==================== ----- Method: Heap>>privateReverseSort (in category '*62Deprecated-private') ----- privateReverseSort "Arrange to have the array sorted in reverse order. WARNING: this method breaks the heap invariants. It's up to the sender to restore them afterwards." | oldTally | self deprecated: 'Use #sort if you want to sort.'. oldTally := tally. [tally > 1] whileTrue: [array swap: 1 with: tally. tally := tally - 1. self downHeapSingle: 1]. tally := oldTally! Squeak-dev mailing list -- [email protected] To unsubscribe send an email to [email protected]