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




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 /** The first node in this list */


Method Detail
Top

PROTECTED InsertAfter (ListNode, ListNode)

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

PROTECTED 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

PROTECTED InsertLast (ListNode)

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

PROTECTED RemoveAfter (ListNode)

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

PROTECTED RemoveFirst ()

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


Constructor Detail
Top

PROTECTED LinkedList ()

Top

PROTECTED LinkedList (ListNode)

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


Property Detail
Top

PROTECTED OpenEdge.Core.Collections.ListNode First

Purpose: The first node in this list
Returns OpenEdge.Core.Collections.ListNode


10.27.2015 12:36:22