Sign in Join
FPDoc Onlineexperiment

TFPStringHashTable class

In unit Contnrs

Hash table for string data.

Declaration

pascal
TFPStringHashTable = class(TFPCustomHashTable)

Inheritance

  1. TFPStringHashTable
  2. TFPCustomHashTable
  3. TObject

Description

TFPStringHashTable is a TFPCustomHashTable descendent which stores simple strings together with the keys. In case the data associated with the keys are objects, it's better to use TFPObjectHashTable, or for arbitrary pointer data, TFPDataHashTable is more suitable. The strings are exposed with their keys through the Items property.

See also

Properties

ItemspublicKey based access to the strings in the hash table.

Methods

CreateNewNodeprotected
AddNodeprotected
SetDataprotected
GetDataprotected
ForEachCallprotected
IteratepublicIterate over the strings in the hash table.
AddpublicAdd a new string to the hash list.

Inherited

From TFPCustomHashTable (23)

AVGChainLen Chain ChainLength ChangeTableSize Clear Count Create CreateWith 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.