如何使用JEDI TJCLHashMap类? [英] How to use JEDI TJCLHashMap classes?
问题描述
我试图使用TJCLHashMap类的家族,但显然这个类没有有用的公共方法。所有的方法都是保护的。如何使用这个类?虽然JCL带有一些样本,但我似乎错过了一些东西。一个基本的例子会很棒。
您应该使用JclContainerIntf.pas中声明的接口。 JclHashMaps中的类实现这些接口。
查看jcl \examples\common\containers\hashing\HashingExample.dpr几个示例(整数,字符串,对象等)。 )
I'm trying to use TJCLHashMap family of classes, but apparently this class has no useful public methods. All methods are "protected". How to use this class? Although JCL comes with some samples, I seem to miss something. A basic example would be great.
You should use the interfaces declared in JclContainerIntf.pas. The classes in JclHashMaps implement those interfaces.
Take a look at jcl\examples\common\containers\hashing\HashingExample.dpr for a few examples (integer, strings, objects, etc.)
这篇关于如何使用JEDI TJCLHashMap类?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!