C# Class rm.Trie.TrieNode

TrieNode is an internal object to encapsulate recursive, helper etc. methods.
Show file Open project: rmandvikar/csharp-trie Class Usage Examples

Private Properties

Property Type Description
Clear void
GetChild TrieNode
GetChildren IEnumerable
RemoveChild void
SetChild void
TrieNode System

Public Methods

Method Description
Equals ( object obj ) : bool
GetHashCode ( ) : int
ToString ( ) : string

For readability.

Private Methods

Method Description
Clear ( ) : void
GetChild ( char character ) : TrieNode
GetChildren ( ) : IEnumerable
RemoveChild ( char character ) : void
SetChild ( TrieNode child ) : void
TrieNode ( char character ) : System

Create a new TrieNode instance.

Method Details

Equals() public method

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

GetHashCode() public method

public GetHashCode ( ) : int
return int

ToString() public method

For readability.
public ToString ( ) : string
return string