MCPcopy Index your code
hub / github.com/ccxt/ccxt / repeat

Method repeat

java/lib/src/main/java/io/github/ccxt/base/Precise.java:338–343  ·  view source on GitHub ↗
(char ch, int n)

Source from the content-addressed store, hash-verified

336 }
337
338 private static String repeat(char ch, int n) {
339 if (n <= 0) return "";
340 StringBuilder sb = new StringBuilder(n);
341 for (int i = 0; i < n; i++) sb.append(ch);
342 return sb.toString();
343 }
344}

Callers 15

toStringMethod · 0.95
padFunction · 0.80
interposeFunction · 0.80
spacesFunction · 0.80
prependWhitespaceFunction · 0.80
spacesFunction · 0.80
prependWhitespaceFunction · 0.80
spacesFunction · 0.80
padStringFunction · 0.80
useDecodedFunction · 0.80
useEncodedFunction · 0.80
toStringMethod · 0.80

Calls 2

appendMethod · 0.45
toStringMethod · 0.45

Tested by

no test coverage detected