INode<TValue> Interface

Definition

Interface for the node data structure. Containers that support bidirectional iteration contain nodes. A node consists of a value for the element at that position in the container and pointers to the next and previous elements in the container.

C#
public interface INode<TValue>

Type Parameters

TValue

The type of an element in the controlled sequence.

Properties

_Value

Gets or sets the value of the element for this node in the container.

Methods

container()

Gets the container that the current node is in.

is_head()

Determines whether the current node is the first node of the container.

next_node()

Gets the next node in the container past the current node.

prev_node()

Gets the node in the container immediately before the current node.

Applies to

Product Versions
.NET Framework 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1