Namespace: OpenEdge.Core.Collections
Class
LinkedList
Parent classes:
Inherits: Progress.Lang.Object

Copyright (c) 2014 by Progress Software Corporation. All rights reserved.
File:LinkedList
Purpose:A single linked list containing Object nodes.
Author(s):pjudge
Created:Thu Feb 13 13:23:49 EST 2014
Purpose: The first node in this list




Method Summary
Options Name Purpose
InsertAfter (ListNode, ListNode) /** Adds a Node after another specified Node. @param {&NodeType} The node to insert the new node after. @param {&NodeType} The new node to insert. */
InsertFirst (ListNode) /** Adds a Node in the first position. Will move the linked list along. The new node cannot have a valid Next property. @param {&NodeType} The node to insert. */
InsertLast (ListNode) /** Adds a Node at the end of the list. @param {&NodeType} The node to insert. */
RemoveAfter (ListNode) /** Removes a Node after another specified Node. Ensures the list is still linked. @param {&NodeType} The node to insert the new node after. */
RemoveFirst () /** Removes the first node, and replaces it with the next in the list. Equivalent to a stack pop. */

Constructor Summary
Options Name Purpose
LinkedList ()
LinkedList (ListNode) /** Constructor @param {&NodeType} The first node this list is managing */

Property Summary
Options Name Purpose
OpenEdge.Core.Collections.ListNode First


Method Detail
Top

InsertAfter (ListNode, ListNode)

Purpose: Adds a Node after another specified Node.
Parameters:
poNode OpenEdge.Core.Collections.ListNode
poNewNode OpenEdge.Core.Collections.ListNode
Top

InsertFirst (ListNode)

Purpose: Adds a Node in the first position. Will move the linked list along.
The new node cannot have a valid Next property.
Parameters:
poNode OpenEdge.Core.Collections.ListNode
Top

InsertLast (ListNode)

Purpose: Adds a Node at the end of the list.
Parameters:
poNode OpenEdge.Core.Collections.ListNode
Top

RemoveAfter (ListNode)

Purpose: Removes a Node after another specified Node. Ensures the list is still
linked.
Parameters:
poNode OpenEdge.Core.Collections.ListNode
Top

RemoveFirst ()

Purpose: Removes the first node, and replaces it with the next in the list.
Equivalent to a stack pop.


Constructor Detail
Top

LinkedList ()

Top

LinkedList (ListNode)

Purpose: Constructor
Parameters:
poNode OpenEdge.Core.Collections.ListNode


Property Detail
Top

OpenEdge.Core.Collections.ListNode First

Returns OpenEdge.Core.Collections.ListNode


Copyright © 2022 Progress Software Corporation. All rights Reserved.

Progress® OpenEdge® Release 11.7.15