Method Insert
Insert(String, Char)
Branches are initially compressed, needing one node per key plus the size
of the string key. They are decompressed as needed when another key with
same prefix is inserted. This saves a lot of space, specially for long
keys.
Declaration
public virtual void Insert(string key, char val)
Parameters
Type |
Name |
Description |
System.String |
key |
|
System.Char |
val |
|
Insert(Char[], Int32, Char)
Declaration
public virtual void Insert(char[] key, int start, char val)
Parameters
Type |
Name |
Description |
System.Char[] |
key |
|
System.Int32 |
start |
|
System.Char |
val |
|