Searched refs:unicodeEscaped (Results 1 – 2 of 2) sorted by relevance
332 assertEquals("\\u0041", CharUtils.unicodeEscaped('A'));333 assertEquals("\\u004c", CharUtils.unicodeEscaped('L'));336 final String str = CharUtils.unicodeEscaped((char) i);341 assertEquals("\\u0999", CharUtils.unicodeEscaped((char) 0x999));342 assertEquals("\\u1001", CharUtils.unicodeEscaped((char) 0x1001));347 assertNull(CharUtils.unicodeEscaped(null));348 assertEquals("\\u0041", CharUtils.unicodeEscaped(CHARACTER_A));
328 public static String unicodeEscaped(final char ch) { in unicodeEscaped() method in CharUtils352 public static String unicodeEscaped(final Character ch) { in unicodeEscaped() method in CharUtils353 return ch != null ? unicodeEscaped(ch.charValue()) : null; in unicodeEscaped()