@Test public void testMultiplyStringWithWriter() throws Exception { StringUtils.multiply(getWriter(), "str", 0); assertWriter(""); StringUtils.multiply(getWriter(), "str", 4); assertWriter("strstrstrstr"); }
public static String multiply(char c, int count) { return multiply(String.valueOf(c), count); }
StringUtils { public static String multiply(char c, int count) { return multiply(String.valueOf(c), count); } }
StringUtils { public static String multiply(char c, int count) { return multiply(String.valueOf(c), count); }  }
StringUtils { public static String multiply(char c, int count) { return multiply(String.valueOf(c), count); }  @SuppressWarnings({"SameParameterValue", "SameParameterValue"}) static String align(String s, int width, int alignment); static String align(String s, int width, char paddingChar, int alignment); static void align(PrintWriter output, String s, int width, int alignment); static void align(PrintWriter output, String s, int width, char paddingChar, int alignment); static String multiply(char c, int count); static String multiply(String s, int count); static void multiply(PrintWriter output, char c, int count); @SuppressWarnings({"SameParameterValue"}) static void multiply(PrintWriter output, String s, int count); @SuppressWarnings({"SameParameterValue"}) static String prependEachLine(String s, String prependWith); static void prependEachLine(PrintWriter output, String s, String prependWith); }
StringUtils { public static String multiply(char c, int count) { return multiply(String.valueOf(c), count); }  @SuppressWarnings({"SameParameterValue", "SameParameterValue"}) static String align(String s, int width, int alignment); static String align(String s, int width, char paddingChar, int alignment); static void align(PrintWriter output, String s, int width, int alignment); static void align(PrintWriter output, String s, int width, char paddingChar, int alignment); static String multiply(char c, int count); static String multiply(String s, int count); static void multiply(PrintWriter output, char c, int count); @SuppressWarnings({"SameParameterValue"}) static void multiply(PrintWriter output, String s, int count); @SuppressWarnings({"SameParameterValue"}) static String prependEachLine(String s, String prependWith); static void prependEachLine(PrintWriter output, String s, String prependWith); static final int ALIGN_LEFT; static final int ALIGN_CENTER; static final int ALIGN_RIGHT; }