MCPcopy Create free account
hub / github.com/0linlin0/CyberBox / repeat

Method repeat

Skay_Exp/src/tools/Strings.java:23–27  ·  view source on GitHub ↗
(String str, int num)

Source from the content-addressed store, hash-verified

21 }
22
23 public static String repeat(String str, int num) {
24 final String[] strs = new String[num];
25 Arrays.fill(strs, str);
26 return join(Arrays.asList(strs), "", "", "");
27 }
28
29 public static List<String> formatTable(List<String[]> rows) {
30 final Integer[] maxLengths = new Integer[rows.get(0).length];

Callers 1

formatTableMethod · 0.95

Calls 1

joinMethod · 0.95

Tested by

no test coverage detected