TFPObjectHashTable class
Hash table for object instances.
Declaration
TFPObjectHashTable = class(TFPCustomHashTable)Inheritance
- TFPObjectHashTable
- TFPCustomHashTable
- TObject
Description
TFPStringHashTable is a
TFPCustomHashTable
descendent which stores object instances together with the keys. In case the data
associated with the keys are strings themselves, it's better to use
TFPStringHashTable, or for arbitrary pointer data,
TFPDataHashTable is more suitable. The objects are exposed with their
keys through the
Items property.See also
Properties
Items | public | Key-based access to the objects. |
OwnsObjects | public | Does the hash table own the objects ? |
Methods
CreateNewNode | protected | |
AddNode | protected | |
SetData | protected | |
GetData | protected | |
ForEachCall | protected | |
Create | public | Create a new instance of TFPObjectHashTable. |
CreateWith | public | Create a new hash table with given size and hash function. |
Iterate | public | Iterate over the objects in the hash table. |
Add | public | Add a new object to the hash table. |
Inherited
From TFPCustomHashTable (21)
AVGChainLen Chain ChainLength ChangeTableSize Clear Count Delete Density Destroy Find FindChainForAdd FindOrCreateNew HashFunction HashTable HashTableSize IsEmpty LoadFactor MaxChainLength NumberOfCollisions SetHashFunction VoidSlots
From TObject (40)
AfterConstruction BeforeDestruction CheckDisposed ClassInfo ClassName ClassNameIs ClassParent ClassType CleanupInstance DefaultHandler DefaultHandlerStr Dispatch DispatchStr Disposed DisposeOf Equals FieldAddress Free FreeInstance GetDisposed GetHashCode GetInterface GetInterfaceByStr GetInterfaceEntry GetInterfaceEntryByStr GetInterfaceTable GetInterfaceWeak GetLastCastErrorInfo InheritsFrom InitInstance InstanceSize MethodAddress MethodName newinstance QualifiedClassName SafeCallException StringMessageTable SystemHasExtendedRTTI ToString UnitName
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
