Méthode | Description | |
---|---|---|
AddText ( this |
Appends text to this rope. Runs in O(lg N + M).
|
|
Create ( string text ) : Rope |
Creates a new rope from the specified text.
|
|
IndexOf ( this |
Gets the index of the first occurrence of the search text.
|
|
IndexOfAny ( this |
Gets the index of the first occurrence of any element in the specified array.
|
|
InsertText ( this |
Inserts text into this rope. Runs in O(lg N + M).
|
|
LastIndexOf ( this |
Gets the index of the last occurrence of the search text.
|
|
ToString ( this |
Retrieves the text for a portion of the rope. Runs in O(lg N + M), where M=length. This method counts as a read access and may be called concurrently to other read accesses. |
|
WriteTo ( this |
Retrieves the text for a portion of the rope and writes it to the specified text writer. Runs in O(lg N + M), where M=length. This method counts as a read access and may be called concurrently to other read accesses. |
Méthode | Description | |
---|---|---|
FillNode ( RopeNode |
||
InitFromString ( string text ) : RopeNode |
||
WriteTo ( this |
public static AddText ( this |
||
rope | this |
|
text | string | |
Résultat | void |
public static Create ( string text ) : Rope |
||
text | string | |
Résultat | Rope |
public static IndexOf ( this |
||
rope | this |
|
searchText | string | |
startIndex | int | |
length | int | |
comparisonType | System.StringComparison | |
Résultat | int |
public static IndexOfAny ( this |
||
rope | this |
The target rope. |
anyOf | char | Array of characters being searched. |
startIndex | int | Start index of the search. |
length | int | Length of the area to search. |
Résultat | int |
public static InsertText ( this |
||
rope | this |
|
index | int | |
text | string | |
Résultat | void |
public static LastIndexOf ( this |
||
rope | this |
|
searchText | string | |
startIndex | int | |
length | int | |
comparisonType | System.StringComparison | |
Résultat | int |
public static ToString ( this |
||
rope | this |
|
startIndex | int | |
length | int | |
Résultat | string |
public static WriteTo ( this |
||
rope | this |
|
output | ||
startIndex | int | |
length | int | |
Résultat | void |