Class LinkedListNode<T>
A linked list node.
Inheritance
System.Object
LinkedListNode<T>
Namespace: FM.LiveSwitch
Assembly: FM.LiveSwitch.dll
Syntax
public class LinkedListNode<T> : object where T : class
Type Parameters
Name | Description |
---|---|
T |
Constructors
LinkedListNode(T)
Initializes a new instance of the LinkedListNode<T> class.
Declaration
public LinkedListNode(T item)
Parameters
Type | Name | Description |
---|---|---|
T | item | The item. |
Properties
Next
Gets the next node. Will be null
if last.
Declaration
public LinkedListNode<T> Next { get; }
Property Value
Type | Description |
---|---|
LinkedListNode<T> |
Previous
Gets the previous node. Null if first.
Declaration
public LinkedListNode<T> Previous { get; }
Property Value
Type | Description |
---|---|
LinkedListNode<T> |
Value
Gets the item in the linked list.
Declaration
public T Value { get; }
Property Value
Type | Description |
---|---|
T |