Skip to content

Methods_T_CodeJam_Collections_SuffixTreeBase

Andrew Koryavchenko edited this page Jul 4, 2017 · 1 revision

SuffixTreeBase Methods

The SuffixTreeBase type exposes the following members.

Methods

 

Name Description
Public method Add Adds a new string to the tree
Protected method AddNode Adds a new node
Public method All Enumerates all suffixes in the suffix tree
Protected method AppendNodeText Prints a single node information
Protected method BuildFor Appends suffixes for the last added string
Public method Contains Checks wether the suffix tree contains the given substring or not
Public method ContainsSuffix Checks wether the suffix tree contains the given suffix or not
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Protected method GetNode Gets a node at the index
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Print Prints the tree structure to the string for the debugging purposes
Public method StartingWith Enumerates all suffixes starting with the given prefix
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Protected method UpdateNode Updates the node at the index
  Back to Top

See Also

Reference

SuffixTreeBase Class
CodeJam.Collections Namespace

Clone this wiki locally