LaKraven / LKSL

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

Improve TLKSortedList by abstracting the comparison stuff #93

Closed LaKraven closed 9 years ago

LaKraven commented 9 years ago

Once issue #87 and #90 are complete, abstract the sorting solution from TLKSortedList such that alternatives can be used (based on class reference on instantiation).

Presently, TLKSortedList provides a singular, internal solution for sort & search. Really, this should be abstracted in a complementing class so that alternatives can be produced, and "swapped out" by the implementing developer simply by referencing the class containing the method best suited to that implementation.

Also, this has the advantage of making it easy for developers to produce their own sort & search methods for use with TLKSortedList.

LaKraven commented 9 years ago

Superceded by the Generics Redux project, which will resolve this issue (amongst many others)