Vote UpVote

Converting Collection to an Array

The Delphi Geek – Blocking collections (IOmniBlockingCollection) are basic elements for data storage and transfer in many high-level OmniThreadLibrary abstractions. They can, however, be somewhat clumsy when you want to read data from them, as there is no indexed access, just the basic “give me next element” enumeration. To help a bit, SVN now includes three new class functions in the TOmniBlockingCollection class – ToArray<T>, ToArrayIntf<T>, and ToArrayRec<T>.class function ToArray<T>(coll: IOmniBlockingCollection): TArray<T>;class function ToArrayIntf<T: IInterface>( ...
Favorite? Off-Topic? gabr @ 2015-02-03 19:13


Visits: 566
Votes: 1
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News


Please login or register to use this functionality.
(click on this box to dismiss)