Changeset 320 for Generics/NativeGenerics/Units/GenericSet.pas
- Timestamp:
- Feb 7, 2012, 2:03:20 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Generics/NativeGenerics/Units/GenericSet.pas
r132 r320 11 11 TGSet<TItem> = class 12 12 private 13 type14 TGSetList = TGList<TItem>;15 13 var 16 FList: TG SetList;14 FList: TGList<TItem>; 17 15 public 18 16 function IsIn(Item: TItem): Boolean; 19 17 constructor Create; 20 18 destructor Destroy; override; 21 property List: TG SetListread FList;19 property List: TGList<TItem> read FList; 22 20 end; 23 21 … … 33 31 constructor TGSet<TItem>.Create; 34 32 begin 35 FList := TGList .Create;33 FList := TGList<TItem>.Create; 36 34 end; 37 35
Note:
See TracChangeset
for help on using the changeset viewer.