@Test public void testFill() { assertEquals("AAAAA", ValueUtil.fill(null, "A", 5)); assertEquals("0xFFFFFFFFFF", ValueUtil.fill("0x", "FF", 5)); }
public static String fill( final String prefix, final String charSequence, final int times) { if (times < 1) { return ""; } StringBuilder sb = new StringBuilder(); if (prefix != null) { sb.append(prefix); } for (int i = 0; i < times; i++) { sb.append(charSequence); } return sb.toString(); }
ValueUtil { public static String fill( final String prefix, final String charSequence, final int times) { if (times < 1) { return ""; } StringBuilder sb = new StringBuilder(); if (prefix != null) { sb.append(prefix); } for (int i = 0; i < times; i++) { sb.append(charSequence); } return sb.toString(); } }
ValueUtil { public static String fill( final String prefix, final String charSequence, final int times) { if (times < 1) { return ""; } StringBuilder sb = new StringBuilder(); if (prefix != null) { sb.append(prefix); } for (int i = 0; i < times; i++) { sb.append(charSequence); } return sb.toString(); } private  ValueUtil(); }
ValueUtil { public static String fill( final String prefix, final String charSequence, final int times) { if (times < 1) { return ""; } StringBuilder sb = new StringBuilder(); if (prefix != null) { sb.append(prefix); } for (int i = 0; i < times; i++) { sb.append(charSequence); } return sb.toString(); } private  ValueUtil(); static String resolveFigurative(
            final String value,
            final int length,
            final boolean quoteIsQuote); static String fill(
            final String prefix,
            final String charSequence,
            final int times); static String stripDelimiters(final String value); }
ValueUtil { public static String fill( final String prefix, final String charSequence, final int times) { if (times < 1) { return ""; } StringBuilder sb = new StringBuilder(); if (prefix != null) { sb.append(prefix); } for (int i = 0; i < times; i++) { sb.append(charSequence); } return sb.toString(); } private  ValueUtil(); static String resolveFigurative(
            final String value,
            final int length,
            final boolean quoteIsQuote); static String fill(
            final String prefix,
            final String charSequence,
            final int times); static String stripDelimiters(final String value);  }