C# Class CkanDotNet.Api.DataStructures.TrieNode

Node class for the Trie representing one trie node
Mostrar archivo Open project: opencolorado/.NET-Wrapper-for-CKAN-API Class Usage Examples

Protected Properties

Property Type Description
_character char
_children TrieNode>.IDictionary

Public Methods

Method Description
AddOrGetNode ( char c ) : TrieNode

Adds the requested character to the Node subtree children If there is already a child representing the character - return it

Equals ( object obj ) : bool
GetChildNode ( char c ) : TrieNode
GetHashCode ( ) : int
ToString ( ) : string
TrieNode ( char c ) : System

Method Details

AddOrGetNode() public method

Adds the requested character to the Node subtree children If there is already a child representing the character - return it
public AddOrGetNode ( char c ) : TrieNode
c char
return TrieNode

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

GetChildNode() public method

public GetChildNode ( char c ) : TrieNode
c char
return TrieNode

GetHashCode() public method

public GetHashCode ( ) : int
return int

ToString() public method

public ToString ( ) : string
return string

TrieNode() public method

public TrieNode ( char c ) : System
c char
return System

Property Details

_character protected_oe property

protected char _character
return char

_children protected_oe property

protected IDictionary _children
return TrieNode>.IDictionary