@Test public void quote_surrogate_pair() { assertThat(TextUtil.quote(CP_BEER), is('"' + CP_BEER + '"')); }
public static String quote(CharSequence cs) { StringBuilder buf = new StringBuilder(); quoteTo(cs, buf); return buf.toString(); }
TextUtil { public static String quote(CharSequence cs) { StringBuilder buf = new StringBuilder(); quoteTo(cs, buf); return buf.toString(); } }
TextUtil { public static String quote(CharSequence cs) { StringBuilder buf = new StringBuilder(); quoteTo(cs, buf); return buf.toString(); } private  TextUtil(); }
TextUtil { public static String quote(CharSequence cs) { StringBuilder buf = new StringBuilder(); quoteTo(cs, buf); return buf.toString(); } private  TextUtil(); static String quote(CharSequence cs); static void quoteTo(CharSequence cs, StringBuilder target); static int countLeadingWhitespaces(CharSequence cs, int offset, int length); static int countTrailingWhitespaces(CharSequence cs, int offset, int length); static byte parseByte(CharSequence cs, int offset, int length); static short parseShort(CharSequence cs, int offset, int length); static int parseInt(CharSequence cs, int offset, int length); static long parseLong(CharSequence cs, int offset, int length); static BigDecimal parseDecimal(CharSequence cs, int offset, int length); static float parseFloat(CharSequence cs, int offset, int length); static double parseDouble(CharSequence cs, int offset, int length); }
TextUtil { public static String quote(CharSequence cs) { StringBuilder buf = new StringBuilder(); quoteTo(cs, buf); return buf.toString(); } private  TextUtil(); static String quote(CharSequence cs); static void quoteTo(CharSequence cs, StringBuilder target); static int countLeadingWhitespaces(CharSequence cs, int offset, int length); static int countTrailingWhitespaces(CharSequence cs, int offset, int length); static byte parseByte(CharSequence cs, int offset, int length); static short parseShort(CharSequence cs, int offset, int length); static int parseInt(CharSequence cs, int offset, int length); static long parseLong(CharSequence cs, int offset, int length); static BigDecimal parseDecimal(CharSequence cs, int offset, int length); static float parseFloat(CharSequence cs, int offset, int length); static double parseDouble(CharSequence cs, int offset, int length);  }