Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WordDictionary ¶
type WordDictionary struct {
// contains filtered or unexported fields
}
func (*WordDictionary) AddWord ¶
func (this *WordDictionary) AddWord(word string)
* Adds a word into the data structure.
func (*WordDictionary) Search ¶
func (this *WordDictionary) Search(word string) bool
* Returns if the word is in the data structure. A word could contain the dot character '.' to represent any one letter.
Click to show internal directories.
Click to hide internal directories.