Home
last modified time | relevance | path

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

/external/apache-commons-lang/src/test/java/org/apache/commons/lang3/
DCharUtilsTest.java263 assertEquals(0, CharUtils.toIntValue('0'));
264 assertEquals(1, CharUtils.toIntValue('1'));
265 assertEquals(2, CharUtils.toIntValue('2'));
266 assertEquals(3, CharUtils.toIntValue('3'));
267 assertEquals(4, CharUtils.toIntValue('4'));
268 assertEquals(5, CharUtils.toIntValue('5'));
269 assertEquals(6, CharUtils.toIntValue('6'));
270 assertEquals(7, CharUtils.toIntValue('7'));
271 assertEquals(8, CharUtils.toIntValue('8'));
272 assertEquals(9, CharUtils.toIntValue('9'));
[all …]
/external/apache-commons-lang/src/main/java/org/apache/commons/lang3/
DCharUtils.java206 public static int toIntValue(final char ch) { in toIntValue() method in CharUtils
228 public static int toIntValue(final char ch, final int defaultValue) { in toIntValue() method in CharUtils
249 public static int toIntValue(final Character ch) { in toIntValue() method in CharUtils
250 return toIntValue(toChar(ch)); in toIntValue()
269 public static int toIntValue(final Character ch, final int defaultValue) { in toIntValue() method in CharUtils
270 return ch != null ? toIntValue(ch.charValue(), defaultValue) : defaultValue; in toIntValue()