Property | Type | Description | |
---|---|---|---|
Index | int | ||
Next | |||
Previous |
Method | Description | |
---|---|---|
DoubleLinkListIndexNode ( |
Constructor for when a node is inserted into the middle of the list.
|
|
DoubleLinkListIndexNode ( |
Constructor for when a node is added to the end of the list.
|
|
Remove ( ) : void |
This function effectively removes this node from the linked list, and decrements the position index of all the nodes that follow it. It removes the node by changing the nodes that come before and after it to point to each other, thus bypassing this node.
|
Method | Description | |
---|---|---|
DecrementForward ( ) : void |
This recursive function decrements the position index of all the nodes in front of this node. Used for when a node is removed from a list.
|
|
IncrementForward ( ) : void |
This recursive function decrements the position index of all the nodes in front of this node. Used for when a node is inserted into a list.
|
public DoubleLinkListIndexNode ( |
||
previous | ||
next |
public DoubleLinkListIndexNode ( |
||
previous | ||
index | int |
public DoubleLinkListIndexNode,csCommon.Utils.Collections Next | ||
return |