Unit 'kraft' Package
[Overview][Constants][Types][Classes][Procedures and functions][Index] [#pl_kraft]

TKraftHashMap

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Declaration

Source position: kraft.pas line 535

type generic TKraftHashMap <TKraftHashMapKey,TKraftHashMapValue>= class

public

type

  TEntity = record

  

  Empty: <NIL>;

  

  Deleted: <NIL>;

  

  Used: <NIL>;

  

  State: TKraftUInt32;

  

  Key: TKraftHashMapKey;

  

  Value: TKraftHashMapValue;

  

end;

  PEntity = ^TEntity;

  

  TEntities = array of TEntity;

  

protected

  function GetValue();

  

  procedure SetValue();

  

public

  constructor Create();

  

  destructor Destroy; override;

  

  procedure Clear;

  

  function Add();

  

  function Get();

  

  function TryGet();

  

  function ExistKey();

  

  function Delete();

  

  property EntityValues []: TKraftHashMapValue; default; [rw]

  

  property Entities: TEntitiesObject; [r]

  

  property Keys: TKeysObject; [r]

  

  property Values: TValuesObject; [r]

  

  property CanShrink: Boolean; [rw]

  

end;

Inheritance

TKraftHashMap

  

|

TObject



CT Web help

CodeTyphon Studio