C# Class SharpMod.BinaryTree

The BinaryTree class to efficiently look up the integer identifiers associated them to the text identifiers
Afficher le fichier Open project: txdv/sharpmod Class Usage Examples

Protected Properties

Свойство Type Description
count int
root BinaryTree.Node

Méthodes publiques

Méthode Description
Add ( Node node ) : void
Add ( string name, int val ) : void
BinaryTree ( ) : System
GetNode ( Node position, string name ) : Node
GetNode ( string name ) : Node
GetValue ( string name ) : int

Private Methods

Méthode Description
Add ( BinaryTree &position, BinaryTree newNode ) : void

Method Details

Add() public méthode

public Add ( Node node ) : void
node Node
Résultat void

Add() public méthode

public Add ( string name, int val ) : void
name string
val int
Résultat void

BinaryTree() public méthode

public BinaryTree ( ) : System
Résultat System

GetNode() public méthode

public GetNode ( Node position, string name ) : Node
position Node
name string
Résultat Node

GetNode() public méthode

public GetNode ( string name ) : Node
name string
Résultat Node

GetValue() public méthode

public GetValue ( string name ) : int
name string
Résultat int

Property Details

count protected_oe property

protected int count
Résultat int

root protected_oe property

protected BinaryTree.Node,SharpMod root
Résultat BinaryTree.Node