THashLinkedList
From Ultibo.org
								
												
				Return to Unit UltiboClasses
Description
To be documented
Class definitions
THashLinkedList = class(TLinkedList)
| Note: A List of THashListObjects with automatic hash buckets | |
 constructor Create(AKeyBits:Byte);
 | 
|
 destructor Destroy; override;
 | 
|
private 
 | |
 FKeyBits:Byte;
 | 
|
 FKeyMask:LongWord;
 | 
|
 FKeyShift:LongWord;
 | 
|
 FKeyBuckets:Pointer;
 | 
|
 function KeyLink(AValue:THashListObject):Boolean;
 | 
|
 function KeyUnlink(AValue:THashListObject):Boolean;
 | 
|
public 
 | |
 function KeyFirst(AKeyHash:LongWord):THashListObject;
 | 
|
 function Add(AValue:TListObject):Boolean; override;
 | 
|
 function Remove(AValue:TListObject):Boolean; override;
 | 
|
 function Insert(APrev,AValue:TListObject):Boolean; override;
 | 
|
 procedure Clear; override;
 | 
|
Function declarations
constructor THashLinkedList.Create(AKeyBits:Byte);
Description: To be documented
| Note | None documented | 
|---|
destructor THashLinkedList.Destroy;
Description: To be documented
| Note | None documented | 
|---|
function THashLinkedList.KeyLink(AValue:THashListObject):Boolean;
Description: Link AValue to Prev,Next Keys and Adjust First
| Note | None documented | 
|---|
function THashLinkedList.KeyUnlink(AValue:THashListObject):Boolean;
Description: Unlink AValue from Prev,Next Keys and Adjust First
| Note | None documented | 
|---|
function THashLinkedList.KeyFirst(AKeyHash:LongWord):THashListObject;
Description: To be documented
| Note | None documented | 
|---|
function THashLinkedList.Add(AValue:TListObject):Boolean;
Description: Add AValue to List and link with Siblings
| Note | None documented | 
|---|
function THashLinkedList.Remove(AValue:TListObject):Boolean;
Description: Unlink AValue from Siblings and Remove from List
| Note | None documented | 
|---|
function THashLinkedList.Insert(APrev,AValue:TListObject):Boolean;
Description: To be documented
| Note | None documented | 
|---|
procedure THashLinkedList.Clear;
Description: To be documented
| Note | None documented | 
|---|
Return to Unit Reference