Class ManStringBuilderExt
- java.lang.Object
-
- manifold.text.extensions.java.lang.StringBuilder.ManStringBuilderExt
-
public class ManStringBuilderExt extends Object
-
-
Constructor Summary
Constructors Constructor Description ManStringBuilderExt()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidset(StringBuilder thiz, int index, char ch)Implements the index operator for assignment such astext[i] = 'x'
-
-
-
Method Detail
-
set
public static void set(StringBuilder thiz, int index, char ch)
Implements the index operator for assignment such astext[i] = 'x'The character at the specified
indexis set toch.The index argument must be greater than or equal to
0, and less than the length of this string.- Parameters:
index- the index of the character to modify.ch- the new character.- Throws:
IndexOutOfBoundsException- ifindexis negative or greater than or equal tolength().
-
-