亚洲欧美第一页_禁久久精品乱码_粉嫩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

主站蜘蛛池模板: 礼泉县| 青阳县| 苏尼特左旗| 涟水县| 新民市| 和平区| 井研县| 仙居县| 宜君县| 新民市| 浦县| 江津市| 绥江县| 泰来县| 武定县| 阳泉市| 玉溪市| 香格里拉县| 巴彦县| 博湖县| 和龙市| 翁牛特旗| 金湖县| 甘南县| 鄂伦春自治旗| 兴宁市| 泗洪县| 保亭| 攀枝花市| 三门峡市| 宣恩县| 恭城| 桐城市| 桂东县| 泗阳县| 石台县| 门源| 常熟市| 鹤岗市| 尼勒克县| 乌拉特后旗|