Ignore:
Timestamp:
Oct 29, 2010, 1:26:32 PM (14 years ago)
Author:
george
Message:
  • Added: Generic range type.
  • Added: Specialized TListByte type which si simply memory block.
  • Added: New functionality to TGList.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Generics/TemplateGenerics/Generic/SetImplementation.tpl

    r76 r77  
    33{ TGSet }
    44
     5function TGSet.IsIn(Item: TSetItem): Boolean;
     6begin
     7  Result := FList.IndexOf(Item) <> -1;
     8end;
    59
     10constructor TGSet.Create;
     11begin
     12  FList := TGList.Create;
     13end;
    614
     15destructor TGSet.Destroy;
     16begin
     17  FList.Free;
     18  inherited Destroy;
     19end;
Note: See TracChangeset for help on using the changeset viewer.