Delphi 2009 通用链表 [英] Generic Linked List for Delphi 2009

查看:23
本文介绍了Delphi 2009 通用链表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我查看了 Generics.Collections 并注意到没有链表.当然它们制作起来很简单,但我觉得很奇怪没有一个(或者我只是错过了).与新的现代数据结构相比,链表是否已经过时,或者是否需要通用的通用链表?有人知道吗?

I was looking in Generics.Collections and noticed there was no linked list. Sure they are simple to make, but I thought it was odd there was not one (or I just missed it). Are linked lists just outdated when compared to new modern data structures, or is there a need for a general generic linked list? Does anyone know of one?

推荐答案

你知道 DeHL?

我认为 TLinkedList 来自 DeHL.Collections.LinkedList.pas 单元正是您要寻找的.

I think the TLinkedList<T> from the DeHL.Collections.LinkedList.pas unit is exactly what you are looking for.

这篇关于Delphi 2009 通用链表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆