JCL Help: TStringHashMap Class
- Project summary
Search in JCL HelpSearch in all projects
TStringHashMap is a string-pointer associative array.
public TStringHashMap = class(TObject);
TStringHashMap is a string-pointer associative array. It uses a hash table for its implementation, which has several ramifications for its behaviour:
- Lookup by string takes a constant time, i.e. if the map is big enough it takes just as long to find an item from 10 as from 10 million (ignoring cache and paging effects).
- Items are unordered. An iteration of all the items using the Iterate or IterateMethod methods won't go through all the items in any order that has meaning, i.e. the ordering is essentially random.
Contribute to this help topic
This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page