[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Adds a map item with the specified ID and Data to the AVL Tree.
Source position: maps.pp line 113
protected procedure TBaseMap.InternalAdd( |
const AId; |
const AData |
); |
AId |
|
ID for the new map item. |
AData |
|
Data for the new map item. |
InternalAdd is a procedure used to add a map item with the specified ID and Data to the AVL Tree. InternalAdd raises an EListError exception if AId already exists in the internal AVL Tree, and no actions are performed in the method.
InternalAdd allocates and populates memory used for the TMapItem and its arbitrary data, and adds the new item to the internal AVL Tree. InternalAdd updates the pointers to the previous and next map items in the linked list.
Do not call InternalAdd directly. Use a descendant class, such as TMap, which implements the Add method.
Raises an EListError exception when a duplicate ID is found in the AVL Tree. Raised with the message in DUPLICATE_ID.
Version 3.2 | Generated 2024-02-25 | Home |