如何使用 JEDI TJCLHashMap 类?

发布于 2024-07-08 06:27:21 字数 112 浏览 7 评论 0原文

我正在尝试使用 TJCLHashMap 系列类,但显然这个类没有有用的公共方法。 所有方法都受到“保护”。 如何使用这个类? 虽然JCL附带了一些样品,但我似乎错过了一些东西。 一个基本的例子就很好了。

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.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

吹梦到西洲 2024-07-15 06:27:21

您应该使用 JclContainerIntf.pas 中声明的接口。 JclHashMaps 中的类实现了这些接口。
查看 jcl\examples\common\containers\hashing\HashingExample.dpr 中的一些示例(整数、字符串、对象等)

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.)

薄情伤 2024-07-15 06:27:21

扩展它并添加在内部调用受保护方法的公共方法?

Extend it and add public methods that call the protected methods internally?

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文