Unit hamt.maps

DescriptionUsesClasses, Interfaces, Objects and RecordsFunctions and ProceduresTypesConstantsVariables

Description

Mutable and immutable persistent maps as hash array mapped trie (HAMT)

Public generic classes:

* TReadOnlyMap

* TMutableMap

* TImmutableMap

Public specialized classes:

* TMutableMapStringString

* TMutableMapStringObject

* TImmutableMapStringString

* TImmutableMapStringObject

Overview

Classes, Interfaces, Objects and Records

Name Description
record THAMTPairInfo  
Class TReadOnlyMap Generic read-only map
Class TMutableMap Generic mutable map
Class TImmutableMap Generic immutable map

Types

THAMTTypeInfo = hamt.internals.THAMTTypeInfo;
TMutableMapStringString = specialize TMutableMap<string, string, THAMTTypeInfo>;
TMutableMapStringObject = specialize TMutableMap<string, TObject, THAMTTypeInfo>;
TImmutableMapStringString = specialize TImmutableMap<string, string, THAMTTypeInfo>;
TImmutableMapStringObject = specialize TImmutableMap<string, TObject, THAMTTypeInfo>;

Description

Types

THAMTTypeInfo = hamt.internals.THAMTTypeInfo;
 
TMutableMapStringString = specialize TMutableMap<string, string, THAMTTypeInfo>;

A TMutableMap mapping string keys to string values.

The map handles reference counting and freeing of the strings.

TMutableMapStringObject = specialize TMutableMap<string, TObject, THAMTTypeInfo>;

A TMutableMap mapping string keys to TObject values.

The map handles reference counting and freeing of the string keys, but the objects are neither changed nor freed.

TImmutableMapStringString = specialize TImmutableMap<string, string, THAMTTypeInfo>;

A TImmutableMap mapping string keys to string values.

The map handles reference counting and freeing of the strings.

TImmutableMapStringObject = specialize TImmutableMap<string, TObject, THAMTTypeInfo>;

A TImmutableMap mapping string keys to TObject values.

The map handles reference counting and freeing of the string keys, but the objects are neither changed nor freed.


Generated by PasDoc 0.14.0.