MCPcopy Create free account
hub / github.com/Aghajari/MathParser / repeat

Method repeat

MathParser/src/com/aghajari/math/Utils.java:75–82  ·  view source on GitHub ↗

@see jdk.internal.joptsimple.internal.Strings#repeat(char, int)

(char ch, int count)

Source from the content-addressed store, hash-verified

73 * @see jdk.internal.joptsimple.internal.Strings#repeat(char, int)
74 */
75 public static String repeat(char ch, int count) {
76 StringBuilder buffer = new StringBuilder();
77
78 for (int i = 0; i < count; ++i)
79 buffer.append(ch);
80
81 return buffer.toString();
82 }
83
84 public static char findCharBefore(String src, int start) {
85 try {

Callers 1

getCursorMethod · 0.95

Calls 1

toStringMethod · 0.80

Tested by

no test coverage detected