亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

蟲蟲首頁| 資源下載| 資源專輯| 精品軟件
登錄| 注冊

removing

  • Delphi 泛型容器 TDictionary 的用法 Demo

    Collection of key-value pairs.  TDictionary represents a generic collection of key-value pairs.  This class provides a mapping from a collection of keys to a collection of values. When you create a TDictionary object, you can specify various combinations of initial capacity, equality operation, and initial content.  You can add a key that is associated with a corresponding value with the Add or AddOrSetValue methods. You can remove entries with Remove or Clear, which removes all key-value pairs. Adding or removing a key-value pair and looking up a key are efficient, close to O(1), because keys are hashed. A key must not be nil (though a value may be nil) and there must be an equality comparison operation for keys.  You can test for the presence or keys and values with the TryGetValue, ContainsKey and ContainsValue methods.  The Items property lists all Count dictionary entries. You can also set and get values by indexing the Items property. Setting the value this way overwrites any existing value.  The class TObjectDictionary inherits from TDictionary and provides an automatic mechanism for freeing objects removed from dictionary entries. 

    標簽: Delphi 泛型

    上傳時間: 2015-07-01

    上傳用戶:mirage

主站蜘蛛池模板: 宜昌市| 曲阜市| 东乌珠穆沁旗| 咸丰县| 开封市| 农安县| 浪卡子县| 远安县| 卢龙县| 亚东县| 江阴市| 偏关县| 黄浦区| 电白县| 突泉县| 云安县| 大同市| 新宁县| 定襄县| 台山市| 巧家县| 辽阳县| 清苑县| 嘉荫县| 漳浦县| 修武县| 砀山县| 施甸县| 深泽县| 准格尔旗| 通江县| 武穴市| 蒙自县| 夏邑县| 罗平县| 台湾省| 南城县| 哈尔滨市| 兴国县| 烟台市| 清镇市|