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.

generic <typename TValue>
public interface class INode
public interface INode<TValue>
type INode<'Value> = interface
Public Interface INode(Of 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