Samond Classes Library 1.2.6-STABLE build 219
|
Sorting algorithm protocol. More...
#import <SCSorter.h>
Sorting Objects | |
(void) | - ascendingSortCollection: |
(void) | - descendingSortCollection: |
Sorting Strings | |
(void) | - ascendingSortText: |
(void) | - descendingSortText: |
Sorting algorithm protocol.
Declares the methods, which sorts the objects within the collections and strings within texts.
- (void) ascendingSortCollection: | (id< SCMutableIndexedCollection >) | collection |
Sorts ascending the objects within the specified collection.
collection | - collection with objects to sorting |
SCCollectionException | - collection error detected |
Reimplemented in SCSorter.
- (void) ascendingSortText: | (SCStrings *) | text |
Sorts ascending the strings within the specified strings list.
text | - list with strings to sorting |
SCTextException | - text error detected |
Reimplemented in SCSorter.
- (void) descendingSortCollection: | (id< SCMutableIndexedCollection >) | collection |
Sorts descending the objects within the specified collection.
collection | - collection with objects to sorting |
SCCollectionException | - collection error detected |
Reimplemented in SCSorter.
- (void) descendingSortText: | (SCStrings *) | text |
Sorts descending the strings within the specified strings list.
text | - list with strings to sorting |
SCTextException | - text error detected |
Reimplemented in SCSorter.