Re: [fpc-pascal] (Generic) Container Classes

2009-11-29 Thread Juha Manninen
Uhh... Is the class TFPStringHashTable (and TFPCustomHashTable) actually doing a hashmap? The ported JCL StringHashMap is duplicate effort then after all. Juha Manninen ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org

Re: [fpc-pascal] (Generic) Container Classes

2009-11-29 Thread Juha Manninen
On sunnuntai, 29. marraskuuta 2009 21:27:39 Vincent Snijders wrote: Juha Manninen schreef: Uhh... Is the class TFPStringHashTable (and TFPCustomHashTable) actually doing a hashmap? The ported JCL StringHashMap is duplicate effort then after all. Here is the docs:

Re: [fpc-pascal] (Generic) Container Classes

2009-11-29 Thread Vincent Snijders
Juha Manninen schreef: What about the generic containers? I guess it has not been planned yet. There are some in the fgl unit in the RTL. As far as I can see, they are not yet documented. Vincent ___ fpc-pascal maillist -

Re: [fpc-pascal] (Generic) Container Classes

2009-11-29 Thread leledumbo
What about the generic containers? I guess it has not been planned yet. There are some in the fgl unit in the RTL. As far as I can see, they are not yet documented. I've used it in some occasions and it works very well (except for that ifdef-ed Assign method, that also affects recursive

[fpc-pascal] (Generic) Container Classes

2009-11-28 Thread Juha Manninen
Hi, I submitted a TStringHashMap class to CCR. I also created a wiki page: http://wiki.lazarus.freepascal.org/StringHashMap I made a comprehensive demo program for it. It should be good now. I found some hashed list and similar classes from FPC sources (with no documentation) but no hash map