@Test public void testZeros() { assertThat(zeros(0), is("")); assertThat(zeros(3), is("000")); }
public static String zeros(int n) { return repeat('0', n); }
Strings { public static String zeros(int n) { return repeat('0', n); } }
Strings { public static String zeros(int n) { return repeat('0', n); } private  Strings(); }
Strings { public static String zeros(int n) { return repeat('0', n); } private  Strings(); static String toCsv(List<String> src); static String join(List<String> src, String delimiter); static String capitaliseFirstLetter(String string); static String lowercaseFirstLetter(String string); static String zeros(int n); static String repeat(char value, int n); static boolean isEmpty(String s); static byte[] asciiToHex(String asciiValue, int length); static String hexStringToAscii(String hexStr); }
Strings { public static String zeros(int n) { return repeat('0', n); } private  Strings(); static String toCsv(List<String> src); static String join(List<String> src, String delimiter); static String capitaliseFirstLetter(String string); static String lowercaseFirstLetter(String string); static String zeros(int n); static String repeat(char value, int n); static boolean isEmpty(String s); static byte[] asciiToHex(String asciiValue, int length); static String hexStringToAscii(String hexStr);  }