Changeset 320 for Generics/NativeGenerics/Units/GenericQueue.pas
- Timestamp:
- Feb 7, 2012, 2:03:20 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Generics/NativeGenerics/Units/GenericQueue.pas
r132 r320 11 11 TGQueue<TItem> = class 12 12 private 13 type14 TGQueueList = TGList<TItem>;15 13 var 16 FList: TG QueueList;14 FList: TGList<TItem>; 17 15 public 18 16 procedure Enqueue(Value: TItem); … … 21 19 constructor Create; 22 20 destructor Destroy; override; 23 property List: TG QueueListread FList;21 property List: TGList<TItem> read FList; 24 22 end; 25 23 … … 40 38 constructor TGQueue<TItem>.Create; 41 39 begin 42 FList := TGList .Create;40 FList := TGList<TItem>.Create; 43 41 end; 44 42
Note:
See TracChangeset
for help on using the changeset viewer.