Click or drag to resize

NodeTK, TV Class

Represents a node in a (binary) tree.
Inheritance Hierarchy
SystemObject
  Fusee.JometriNodeTK, TV

Namespace:  Fusee.Jometri
Assembly:  Fusee.Jometri (in Fusee.Jometri.dll) Version: 0.7.0.0 (0.7.0.0)
Syntax
C#
public class Node<TK, TV>

Type Parameters

TK
The key of the node as generic type.
TV
The payload of the node as generic type.

The NodeTK, TV type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyKey
The key of the node - determines how a node is sorted into the tree.
Public propertyValue
The payload of the node.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields
  NameDescription
Public fieldLeftNode
An item with lower value than the value of this node will become a LeftNode.
Public fieldRightNode
An item with higher value than the value of this node will become a RightNode.
Top
See Also