Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Java-like collections in Delphi

Is there a kind of implementation (at least partial) of java collections (Set, List, Map, Collection ...) for Delphi 2010?

I need it for make porting code from java to Delphi a little bit easier.

like image 303
kuaw26 Avatar asked Dec 28 '09 19:12

kuaw26


3 Answers

The Contnrs.pas unit has many of these types, like TStack, TBucketList, etc.

The Generics.Collections units have a set of generic containers for Delphi as well.

And there is also the DeHL collection by our own Alexandru Ciobanu.

http://alex.ciobanu.org/?page_id=162

like image 139
Nick Hodges Avatar answered Oct 25 '22 17:10

Nick Hodges


There is DeHL.

Above link is broken, new link: https://github.com/pavkam/DeHL

like image 22
Craig Stuntz Avatar answered Oct 25 '22 16:10

Craig Stuntz


There is also the Delphi Container Librairy

like image 29
Hugues Van Landeghem Avatar answered Oct 25 '22 16:10

Hugues Van Landeghem