mirror of
https://github.com/corda/corda.git
synced 2025-06-14 13:18:18 +00:00
added StringBuffer/Builder methods
This commit is contained in:
@ -322,4 +322,10 @@ public class StringBuilder implements CharSequence {
|
||||
public CharSequence subSequence(int start, int end) {
|
||||
return substring(start, end);
|
||||
}
|
||||
|
||||
public void setCharAt(int index, char ch) {
|
||||
if(index < 0 || index >= length) throw new IndexOutOfBoundsException();
|
||||
deleteCharAt(index);
|
||||
insert(index, ch);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user