Navigation: Code Documentation > RSCommon > GLists > Classes > TGDoublyLinkedList > Methods
TGDoublyLinkedList.Insert(TSQNode,TSQNode) Method
Inserts the input ANode into the linked list. The node is inserted before the BeforeNode (i.e., ANode.Next := BeforeNode).
Namespace: GLists
Delphi
public function Insert( ANode: TSQNode; BeforeNode: TSQNode ): TSQNode; override;
Parameters
ANode
Type: TSQNode
BeforeNode
TGCustomLinkedList.Insert(TSQNode,TSQNode)
•GLists.TGCustomLinkedList.AddNode(TSQNode)
•TGDoublyLinkedList
•GLists