1. Trang chủ
  2. » Công Nghệ Thông Tin

Delphi Generics.Collections ppt

178 472 0

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 178
Dung lượng 562,86 KB

Nội dung

Delphi Generics.Collections Copyright(C) 2008 Embarcadero Technologies, Inc. All Rights Reserved. Table of Contents Generics.Collections.TCollectionNotification 1 Generics.Collections.TCollectionNotifyEvent 3 Generics.Collections.TDictionary 5 Generics.Collections.TDictionary.Add 9 Generics.Collections.TDictionary.AddOrSetValue 11 Generics.Collections.TDictionary.Clear 13 Generics.Collections.TDictionary.ContainsKey 15 Generics.Collections.TDictionary.ContainsValue 17 Generics.Collections.TDictionary.Count 19 Generics.Collections.TDictionary.Create 21 Generics.Collections.TDictionary.Destroy 23 Generics.Collections.TDictionary.Items 25 Generics.Collections.TDictionary.OnKeyNotify 27 Generics.Collections.TDictionary.OnValueNotify 31 Generics.Collections.TDictionary.Remove 33 Generics.Collections.TDictionary.TrimExcess 35 Delphi Generics.Collections iii Generics.Collections.TDictionary.TryGetValue 37 Generics.Collections.TDictionaryOwnerships 39 Generics.Collections.TList 41 Generics.Collections.TList.Add 45 Generics.Collections.TList.AddRange 49 Generics.Collections.TList.BinarySearch 51 Generics.Collections.TList.Capacity 53 Generics.Collections.TList.Clear 55 Generics.Collections.TList.Contains 57 Generics.Collections.TList.Count 59 Generics.Collections.TList.Create 61 Generics.Collections.TList.Delete 65 Generics.Collections.TList.DeleteRange 69 Generics.Collections.TList.Destroy 71 Generics.Collections.TList.Extract 73 Generics.Collections.TList.IndexOf 75 Generics.Collections.TList.Insert 77 Delphi Generics.Collections iv Generics.Collections.TList.InsertRange 79 Generics.Collections.TList.Items 81 Generics.Collections.TList.LastIndexOf 83 Generics.Collections.TList.OnNotify 85 Generics.Collections.TList.Remove 87 Generics.Collections.TList.Reverse 89 Generics.Collections.TList.Sort 91 Generics.Collections.TList.TrimExcess 95 Generics.Collections.TObjectDictionary 97 Generics.Collections.TObjectDictionary.Create 99 Generics.Collections.TObjectList 101 Generics.Collections.TObjectList.Create 103 Generics.Collections.TObjectList.OwnsObjects 105 Generics.Collections.TObjectQueue 107 Generics.Collections.TObjectQueue.Create 109 Generics.Collections.TObjectQueue.Dequeue 111 Generics.Collections.TObjectQueue.OwnsObjects 113 Delphi Generics.Collections v Generics.Collections.TObjectStack 115 Generics.Collections.TObjectStack.Create 117 Generics.Collections.TObjectStack.OwnsObjects 119 Generics.Collections.TObjectStack.Pop 121 Generics.Collections.TQueue 123 Generics.Collections.TQueue.Clear 125 Generics.Collections.TQueue.Count 127 Generics.Collections.TQueue.Create 129 Generics.Collections.TQueue.Dequeue 131 Generics.Collections.TQueue.Destroy 133 Generics.Collections.TQueue.Enqueue 135 Generics.Collections.TQueue.Extract 137 Generics.Collections.TQueue.OnNotify 139 Generics.Collections.TQueue.Peek 141 Generics.Collections.TQueue.TrimExcess 143 Generics.Collections.TStack 145 Generics.Collections.TStack.Clear 147 Delphi Generics.Collections vi Generics.Collections.TStack.Count 149 Generics.Collections.TStack.Create 151 Generics.Collections.TStack.Destroy 153 Generics.Collections.TStack.Extract 155 Generics.Collections.TStack.OnNotify 157 Generics.Collections.TStack.Peek 159 Generics.Collections.TStack.Pop 161 Generics.Collections.TStack.Push 163 Generics.Collections.TStack.TrimExcess 165 Generics.Collections 167 Index a Delphi Generics.Collections vii 1 Generics.Collections.TCollectionNotificati on Type of change to collection for OnNotify event. Description Pascal TCollectionNotification = (cnAdded, cnRemoved, cnExtracted); C++ enum TCollectionNotification { cnAdded, cnRemoved, cnExtracted }; This table lists TCollectionNotification values. Value Meaning cnAdded Item added to collection. cnRemoved Item removed from collection. cnExtracted Item extracted from collection, i.e., removed and its value returned. See Also OnNotify ( see page 85) OnNotify ( see page 139) OnNotify ( see page 157) TCollectionNotifyEvent ( see page 3) 1 Delphi Generics.Collections 1 . 75 Generics. Collections. TList.Insert 77 Delphi Generics. Collections iv Generics. Collections. TList.InsertRange 79 Generics. Collections. TList.Items 81 Generics. Collections. TList.LastIndexOf. Generics. Collections vi Generics. Collections. TStack.Count 149 Generics. Collections. TStack.Create 151 Generics. Collections. TStack.Destroy 153 Generics. Collections. TStack.Extract

Ngày đăng: 14/03/2014, 09:20

TỪ KHÓA LIÊN QUAN

w