Home
last modified time | relevance | path

Searched refs:CharUtils (Results 1 – 24 of 24) sorted by relevance

/external/apache-commons-lang/src/test/java/org/apache/commons/lang3/
DCharUtilsTest.java44 assertTrue(CharUtils.compare('a', 'b') < 0); in testCompare()
45 assertEquals(0, CharUtils.compare('c', 'c')); in testCompare()
46 assertTrue(CharUtils.compare('c', 'a') > 0); in testCompare()
51 assertNotNull(new CharUtils()); in testConstructor()
52 final Constructor<?>[] cons = CharUtils.class.getDeclaredConstructors(); in testConstructor()
55 assertTrue(Modifier.isPublic(CharUtils.class.getModifiers())); in testConstructor()
56 assertFalse(Modifier.isFinal(CharUtils.class.getModifiers())); in testConstructor()
61 assertTrue(CharUtils.isAscii('a')); in testIsAscii_char()
62 assertTrue(CharUtils.isAscii('A')); in testIsAscii_char()
63 assertTrue(CharUtils.isAscii('3')); in testIsAscii_char()
[all …]
DCharUtilsPerfRun.java134 final boolean b = CharUtils.isAsciiNumeric(ch); in run_CharUtils_isAsciiNumeric()
DStringUtilsTest.java3188 assertNull(StringUtils.unwrap(null, CharUtils.NUL)); in testUnwrap_StringChar()
3240 assertNull(StringUtils.wrap(null, CharUtils.NUL)); in testWrap_StringChar()
3243 assertEquals("", StringUtils.wrap("", CharUtils.NUL)); in testWrap_StringChar()
3273 assertNull(StringUtils.wrapIfMissing(null, CharUtils.NUL)); in testWrapIfMissing_StringChar()
3276 assertEquals("", StringUtils.wrapIfMissing("", CharUtils.NUL)); in testWrapIfMissing_StringChar()
/external/apache-commons-lang/src/main/java/org/apache/commons/lang3/
DStringEscapeUtils.java258 …te static final char[] CSV_SEARCH_CHARS = { CSV_DELIMITER, CSV_QUOTE, CharUtils.CR, CharUtils.LF };
391 …vate static final char[] CSV_SEARCH_CHARS = {CSV_DELIMITER, CSV_QUOTE, CharUtils.CR, CharUtils.LF};
DCharUtils.java31 public class CharUtils { class
73 public CharUtils() { in CharUtils() method in CharUtils
DStringUtils.java705 if (ch == CharUtils.CR || ch == CharUtils.LF) { in chomp()
714 if (last == CharUtils.LF) { in chomp()
715 if (str.charAt(lastIdx - 1) == CharUtils.CR) { in chomp()
718 } else if (last != CharUtils.CR) { in chomp()
790 if (last == CharUtils.LF && ret.charAt(lastIdx - 1) == CharUtils.CR) { in chop()
3539 if (!CharUtils.isAsciiPrintable(cs.charAt(i))) { in isAsciiPrintable()
9265 if (isEmpty(str) || wrapChar == CharUtils.NUL || str.length() == 1) {
9398 if (isEmpty(str) || wrapWith == CharUtils.NUL) {
9467 if (isEmpty(str) || wrapWith == CharUtils.NUL) {
DArrayUtils.java3621 if (CharUtils.compare(previous, current) > 0) { in isSorted()
/external/apache-commons-lang/src/site/resources/release-notes/
DRELEASE-NOTES-3.0.1.txt46 …[LANG-735] Deprecate CharUtils.toCharacterObject(char) in favor of java.lang.Character.valueOf(cha…
56 [LANG-734] The CHAR_ARRAY cache in CharUtils duplicates the cache in java.lang.Character
DRELEASE-NOTES-3.1.txt45 [LANG-736] CharUtils static final array CHAR_STRING is not needed to compute CHAR_STRING_ARRAY
DRELEASE-NOTES-2.1.txt68 - CharUtils - utilities for working with characters
DRELEASE-NOTES-3.2.txt223 o LANG-736: CharUtils static final array CHAR_STRING is not needed to compute
DRELEASE-NOTES-3.2.1.txt235 o LANG-736: CharUtils static final array CHAR_STRING is not needed to compute
DRELEASE-NOTES-3.3.2.txt327 o LANG-736: CharUtils static final array CHAR_STRING is not needed to compute
DRELEASE-NOTES-3.3.txt300 o LANG-736: CharUtils static final array CHAR_STRING is not needed to compute
DRELEASE-NOTES-3.3.1.txt314 o LANG-736: CharUtils static final array CHAR_STRING is not needed to compute
DRELEASE-NOTES-3.6.txt107 o LANG-1336: Add NUL Byte To CharUtils. Thanks to Beluga Behr.
941 o LANG-736: CharUtils static final array CHAR_STRING is not needed to compute
DRELEASE-NOTES-3.7.txt159 o LANG-1336: Add NUL Byte To CharUtils. Thanks to Beluga Behr.
993 o LANG-736: CharUtils static final array CHAR_STRING is not needed to compute
DRELEASE-NOTES-3.8.1.txt253 o LANG-1336: Add NUL Byte To CharUtils. Thanks to Beluga Behr.
1087 o LANG-736: CharUtils static final array CHAR_STRING is not needed to compute
DRELEASE-NOTES-3.9.txt276 o LANG-1336: Add NUL Byte To CharUtils. Thanks to Beluga Behr.
1110 o LANG-736: CharUtils static final array CHAR_STRING is not needed to compute
DRELEASE-NOTES-3.8.txt220 o LANG-1336: Add NUL Byte To CharUtils. Thanks to Beluga Behr.
1054 o LANG-736: CharUtils static final array CHAR_STRING is not needed to compute
DRELEASE-NOTES-3.4.txt460 o LANG-736: CharUtils static final array CHAR_STRING is not needed to compute
DRELEASE-NOTES-3.5.txt757 o LANG-736: CharUtils static final array CHAR_STRING is not needed to compute
/external/apache-commons-lang/src/main/java/org/apache/commons/lang3/text/
DStrBuilder.java29 import org.apache.commons.lang3.CharUtils;
212 buffer[i] = CharUtils.NUL; in setLength()
/external/apache-commons-lang/
DRELEASE-NOTES.txt593 o LANG-1336: Add NUL Byte To CharUtils. Thanks to Beluga Behr.
1427 o LANG-736: CharUtils static final array CHAR_STRING is not needed to compute