internal int GetCount() { int count = 1; ListOfDoom node = child; while (node != null) { count++; node = node.child; } return(count); }
internal List <string> ToList() { List <string> list = new List <string>(); ListOfDoom node = this; while (node != null) { list.Add(node.value); node = node.child; } return(list); }
internal ListAndThenSome(string word, byte[] frequencies) { Bucket = new ListOfDoom(word); Frequencies = frequencies; }
internal void Add(string value) { child = new ListOfDoom(this.value, child); this.value = value; }
private ListOfDoom(string value, ListOfDoom child) { this.child = child; this.value = value; }