I am looking for a TList descendent which lets me add one or more indexes and lets me search and view by these indexes.
A 30min google search session has left me with nothing.
This must have been needed before. I mean how many times have you had a in memory indexed collection and then needed to display it in a different order?
Thanks,
AJ
Have you considered TClientDataSet? It can be sorted and filtered at runtime. An article can be found at http://edn.embarcadero.com/article/29056
If you are looking for a generic implementation of a Multimap in Delphi, LU RD has pointed to you the right direction in his comment above on delphi-coll.
The namespace Collections.MultiMaps provides a bunch of classes:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With