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