TThreadList<T>

Comments: No Comments
Upper page: Codes
Description generic TThreadList/TObjectThreadList
Version 1.1
Date (InitialDate) 17.12.2011   (15.12.2011)
System / Personality Win32 / Delphi 2010-XE
License MPL v1.1 , GPL v3.0 or LGPL v3.0

 

Eine kleine threadsiche Liste/Objektliste, inkl. Enumerator für eine For-In-Schleife.

 

TThreadList<T> = class(TEnumerable<T>)
public type
  TListObj  = TList<T>;
  TListItem = T;
public
  constructor Create(OwnsObjects: Boolean);
  destructor  Destroy; override;
  property  Duplicates:  TDuplicates read ...;
  property  OwnsObjects: Boolean     read ...;
  procedure Add     (const Item: TListItem; Duplicates: TDuplicates = dupIgnore);
  procedure Remove  (const Item: TListItem);
  function  Contains(const Item: TListItem): Boolean;
  procedure Clear;
  function  LockList: TListObj;
  procedure UnlockList;
end;

pas   hThreadList.pas
17.12.2011 v 1.1
102 Mal 5.15 kB
7z   hCodes.7z
17.12.2011
53 Mal 4.86 kB

No Comments - Leave a comment

Leave a comment

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind markiert *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

;) :twisted: :roll: :oops: :mrgreen: :lol: :idea: :evil: :cry: :arrow: :D :?: :-| :-x :-o :-P :-? :) :( :!: 8-O 8)
Artikel
Wer ist Online
2 Besucher online
0 Gäste, 2 Bots, 0 Mitglied(er)
Map of Visitors
Unterstütz durch Visitor Maps
Besucherzähler
  • 625Diese Seite:
  • 1Seitenaufrufe heute:
  • 8912Seitenaufrufe gesamt:
  • 4507Besucher gesamt:
  • 1Besucher heute:
  • 19Besucher gestern:
  • 124Besucher pro Monat:
Übersetzer
    Translate to:

Feeds
rsslink Artikel           rsslink Kommentare
100% Ökostrom für Webseite