Changeset 77 for Generics/TemplateGenerics/Specialized/SetChar.pas
- Timestamp:
- Oct 29, 2010, 1:26:32 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.