JCL Help:TJclCardinalCardinalHashMap

From Project JEDI Wiki
Jump to navigationJump to search

Class Hierarchy

IJclLockable
|
IJclBaseContainer
|
IJclCardinalCardinalMap
|
IJclPackable
|
IJclGrowable
|
TJclAbstractLockable
|
IJclCloneable
|
IJclIntfCloneable
|
TJclAbstractContainerBase
|
IJclCardinalComparer
|
IJclCardinalEqualityComparer
|
IJclCardinalHashConverter
|
IJclCardinalOwner
|
TJclCardinalAbstractContainer
|
TJclCardinalCardinalHashMap


Summary

This class store a map with object as hashed key and object as value.


Pascal

 public TJclCardinalCardinalHashMap = class(TJclCardinalAbstractContainer, IJclLockable, IJclIntfCloneable, IJclCloneable, IJclGrowable, IJclPackable, IJclBaseContainer, IJclCardinalCardinalMap);


Description

The description for this help topic does not exist, edit this page


About

Unit

JclHashMaps


Navigation

Donator

Jean-Philippe Bempel


Notes

Hashed value give an index to a dynamic array (Buckets) that store another (Entries) in each cells for collisions. The default buckets capacity is 16 elements. The buckets capacity is fixed. The default entries capcity is 1. When the limit is reached, the capacity grows of 25% if > 64 else it is muliply by 4.
You can change the hash function by the property HashFunction
If the compilation symbol THREADSAFE is defined, this container is threadsafe.


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