Samond Classes Library 1.2.6-STABLE build 219
List of all members
<SCSorter> Protocol Reference

Sorting algorithm protocol. More...

#import <SCSorter.h>

+ Inheritance diagram for <SCSorter>:

Sorting Objects

(void) - ascendingSortCollection:
 
(void) - descendingSortCollection:
 

Sorting Strings

(void) - ascendingSortText:
 
(void) - descendingSortText:
 

Detailed Description

Sorting algorithm protocol.

SDK
macOS 10.6+, iOS 7.0+, GNUstep
Since
version 1.1.3

Declares the methods, which sorts the objects within the collections and strings within texts.

Method Documentation

- (void) ascendingSortCollection: (id< SCMutableIndexedCollection >)  collection

Sorts ascending the objects within the specified collection.

Parameters
collection- collection with objects to sorting
Exceptions
SCCollectionException- collection error detected

Reimplemented in SCSorter.

- (void) ascendingSortText: (SCStrings *)  text

Sorts ascending the strings within the specified strings list.

Parameters
text- list with strings to sorting
Exceptions
SCTextException- text error detected

Reimplemented in SCSorter.

- (void) descendingSortCollection: (id< SCMutableIndexedCollection >)  collection

Sorts descending the objects within the specified collection.

Parameters
collection- collection with objects to sorting
Exceptions
SCCollectionException- collection error detected

Reimplemented in SCSorter.

- (void) descendingSortText: (SCStrings *)  text

Sorts descending the strings within the specified strings list.

Parameters
text- list with strings to sorting
Exceptions
SCTextException- text error detected

Reimplemented in SCSorter.


The documentation for this protocol was generated from the following file: