Home
last modified time | relevance | path

Searched refs:unicodeEscaped (Results 1 – 2 of 2) sorted by relevance

/external/apache-commons-lang/src/test/java/org/apache/commons/lang3/
DCharUtilsTest.java332 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));
/external/apache-commons-lang/src/main/java/org/apache/commons/lang3/
DCharUtils.java328 public static String unicodeEscaped(final char ch) { in unicodeEscaped() method in CharUtils
352 public static String unicodeEscaped(final Character ch) { in unicodeEscaped() method in CharUtils
353 return ch != null ? unicodeEscaped(ch.charValue()) : null; in unicodeEscaped()