Changeset 77 for Generics/TemplateGenerics/Specialized
- Timestamp:
- Oct 29, 2010, 1:26:32 PM (14 years ago)
- Location:
- Generics/TemplateGenerics/Specialized
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
Generics/TemplateGenerics/Specialized/ListChar.pas
r74 r77 24 24 procedure TrimRight; 25 25 end; 26 // System.Pos -> TListChar.IndexOfList 26 27 27 28 TString = TListChar; -
Generics/TemplateGenerics/Specialized/ListVariant.pas
r76 r77 6 6 7 7 uses 8 Classes, SysUtils ;8 Classes, SysUtils, Variants; 9 9 10 10 type -
Generics/TemplateGenerics/Specialized/SetChar.pas
r76 r77 24 24 {$INCLUDE '..\Generic\SetImplementation.tpl'} 25 25 26 27 function TGSet.IsIn(Item: TSetItem): Boolean;28 begin29 Result := FList.IndexOf(Item) <> -1;30 end;31 32 constructor TGSet.Create;33 begin34 FList := TGList.Create;35 end;36 37 destructor TGSet.Destroy;38 begin39 FList.Free;40 inherited Destroy;41 end;42 43 26 end.
Note:
See TracChangeset
for help on using the changeset viewer.