Class TOpenAddressingDH

Unit

Declaration

type TOpenAddressingDH<TKey,TValue,THashFactory,TProbeSequence> = class(TOpenAddressingTombstones<TKey,TValue,THashFactory,TProbeSequence>)

Description

No description available, ancestor TOpenAddressingTombstones description follows

More info and TODO https://github.com/OpenHFT/UntitledCollectionsProject/wiki/Tombstones-purge-from-hashtable:-theory-and-practice

Hierarchy

Overview

Internal Classes and Records

Private _TItem = record

Fields

Private R: UInt32;

Methods

Protected procedure UpdateItemsThreshold(ASize: SizeInt); override;
Protected function FindBucketIndex(constref AItems: TArray<TItem>; constref AKey: TKey; out AHash: UInt32): SizeInt; override; overload;
Protected function FindBucketIndexOrTombstone(constref AItems: TArray<TItem>; constref AKey: TKey; out AHash: UInt32): SizeInt; override;
Public constructor Create(ACapacity: SizeInt); override; overload;
Public constructor Create(ACollection: TEnumerable<TDictionaryPair>); override; overload;
Public constructor Create(ACapacity: SizeInt; const AComparer: IExtendedEqualityComparer<TKey>); virtual; overload;
Public constructor Create(const AComparer: IExtendedEqualityComparer<TKey>); overload;
Public constructor Create(ACollection: TEnumerable<TDictionaryPair>; const AComparer: IExtendedEqualityComparer<TKey>); virtual; overload;

Description

Fields

Private R: UInt32;
 

Methods

Protected procedure UpdateItemsThreshold(ASize: SizeInt); override;
 
Protected function FindBucketIndex(constref AItems: TArray<TItem>; constref AKey: TKey; out AHash: UInt32): SizeInt; override; overload;
 
Protected function FindBucketIndexOrTombstone(constref AItems: TArray<TItem>; constref AKey: TKey; out AHash: UInt32): SizeInt; override;
 
Public constructor Create(ACapacity: SizeInt); override; overload;

bug #26181 (redundancy of constructors)

Public constructor Create(ACollection: TEnumerable<TDictionaryPair>); override; overload;
 
Public constructor Create(ACapacity: SizeInt; const AComparer: IExtendedEqualityComparer<TKey>); virtual; overload;
 
Public constructor Create(const AComparer: IExtendedEqualityComparer<TKey>); overload;
 
Public constructor Create(ACollection: TEnumerable<TDictionaryPair>; const AComparer: IExtendedEqualityComparer<TKey>); virtual; overload;
 

Generated by PasDoc 0.15.0.