Sha256: 3ef6d8f6b8beb9f7e562a78162d548f490a5195a3296f1d75eebdfb643daabbc
Contents?: true
Size: 590 Bytes
Versions: 346
Compression:
Stored size: 590 Bytes
Contents
unit uETL; interface uses System.Generics.Collections; type ETL = class class function Transform(old: TDictionary<integer, TList<string>>): TDictionary<string, integer>; end; implementation uses SysUtils; class function ETL.Transform(old: TDictionary<Integer,TList<System.string>>): TDictionary<string, integer>; var intlistPair: TPair<integer, TList<string>>; iteminList: string; begin result := TDictionary<string, integer>.Create; for intlistPair in old do for iteminList in intlistPair.Value do result.Add(iteminList.ToLower, intlistPair.key); end; end.
Version data entries
346 entries across 346 versions & 1 rubygems