[Overview][Constants][Types][Classes][Index] |
Add data with given or set value if the key already exists.
Source position: fgl.pp line 376
public procedure TFPGMapObject.AddOrSetData( |
const AKey: TKey; |
const AData: TData |
); |
AddOrSetData will check if key AKey already exists. if yes, the value associated with it will be replaced with AData. If the key does not yet exist, it will be added with value AData.
None.
|
Find data or return default |
|
|
Add a key and value to the map |
|
|
Find item based on key |