I've been working on this for a few hours now... Here is just the file with the generics in it.
I've also included a TFPGSet. It needs more work but its useable as it is now.
These aren't the most efficient classes because I just wrapped around existing ones to get things done.
I will now integrate this in my current project so I can get that moving.
I do have TMultiMapPair type in there but its not implemented for the FOR LOOP, the class has FIRST, NEXT, PROV and last
to capture a TPair that gives you the Key and Data List.