Menu

#3 Add a Intrusive List

open
LinkedList (1)
7
2002-10-08
2002-10-08
No

Add Classes implementing Intrusive list with each node
that contains Datas and méthods to link with other nodes

example:
INode = interface
function GetNext: INode;
procedure SetNext(const v: INode);
function GetPrev: INode;
procedure SetPrev(const v: INode);
procedure Remove;
procedure AddAfter(const v: INode);
end;

create a TNodeImpl that implements this methods.

a new list derive from tNodeImple adding datas.

maybe implements directly IIterator (INode).

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.