-
Sub-task
-
Resolution: Delivered
-
P4
-
21
The methods `public StringBuilder repeat(int codePoint, int count)` and `public StringBuilder repeat(CharSequence cs, int count)` have been added to `java.lang.StringBuilder` and `java.lang.StringBuffer` to simplify the appending of multiple copies of characters or strings. For example, `sb.repeat('-', 80)` will insert 80 hyphens into the value of the `java.lang.StringBuilder sb` object.