C# Class Yamool.CWSharp.Dawg

Mostra file Open project: zhengchun/CWSharp Class Usage Examples

Public Methods

Method Description
Contains ( string word ) : bool
Dawg ( DawgNode dawgTree ) : System
MatchsPrefix ( string prefix ) : int>>.IEnumerable

Private Methods

Method Description
IterateNodesString ( string commonPrefix, DawgNode node ) : int>>.IEnumerable

Method Details

Contains() public method

public Contains ( string word ) : bool
word string
return bool

Dawg() public method

public Dawg ( DawgNode dawgTree ) : System
dawgTree DawgNode
return System

MatchsPrefix() public method

public MatchsPrefix ( string prefix ) : int>>.IEnumerable
prefix string
return int>>.IEnumerable