LaKraven / LKSL

LaKraven Studios Standard Library
http://otapi.com
Other
51 stars 15 forks source link

Generics Redux - TLKListSorter #110

Closed LaKraven closed 6 years ago

LaKraven commented 9 years ago

Takes responsibility for dictating how the Array contained in its owning TLKListBase type is to be sorted as items are added, removed or changed.

TLKListBase will provide a property called SorterType of type TLKListSorterType defined as

TLKListSorterType = class of TLKListSorter;

The default Sorter will be nil, meaning that Items will not be Sorted by default.

Numerous descendants of TLKListSorter will be provided as a standard part of the LKSL, but implementing developers can also define their own to suit specific requirements.

LaKraven commented 9 years ago

Related: #107 Related: #108 Related: #109