Home
last modified time | relevance | path

Searched refs:getNumericValue (Results 1 – 7 of 7) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DCharacterTest.java666 assertEquals("Returned incorrect numeric value 1", 1, Character.getNumericValue('1'));
667 assertEquals("Returned incorrect numeric value 2", 15, Character.getNumericValue('F'));
668 assertEquals("Returned incorrect numeric value 3", -1, Character.getNumericValue('\u221e'));
669 assertEquals("Returned incorrect numeric value 4", -2, Character.getNumericValue('\u00be'));
671 Character.getNumericValue('\u2182'));
672 assertEquals("Returned incorrect numeric value 6", 2, Character.getNumericValue('\uff12'));
679 assertEquals(1, Character.getNumericValue((int) '1'));
680 assertEquals(15, Character.getNumericValue((int) 'F'));
681 assertEquals(-1, Character.getNumericValue((int) '\u221e'));
682 assertEquals(-2, Character.getNumericValue((int) '\u00be'));
[all …]
/libcore/benchmarks/src/benchmarks/regression/
DCharacterBenchmark.java96 Character.getNumericValue(chars[ch]); in timeGetNumericValue()
102 Character.getNumericValue((int) chars[ch]); in timeGetNumericValue()
/libcore/ojluni/annotations/sdk/nullability/java/lang/
DCharacter.annotated.java169 public static int getNumericValue(char ch) { throw new RuntimeException("Stub!"); } in getNumericValue() method in Character
171 public static int getNumericValue(int codePoint) { throw new RuntimeException("Stub!"); } in getNumericValue() method in Character
/libcore/ojluni/annotations/hiddenapi/java/lang/
DCharacter.java360 public static int getNumericValue(char ch) { in getNumericValue() method in Character
364 public static int getNumericValue(int codePoint) { in getNumericValue() method in Character
/libcore/ojluni/annotations/flagged_api/java/lang/
DCharacter.annotated.java172 public static int getNumericValue(char ch) { throw new RuntimeException("Stub!"); } in getNumericValue() method in Character
174 public static int getNumericValue(int codePoint) { throw new RuntimeException("Stub!"); } in getNumericValue() method in Character
/libcore/ojluni/src/main/java/java/lang/
DCharacter.java10995 public static int getNumericValue(char ch) { in getNumericValue() method in Character
10996 return getNumericValue((int)ch); in getNumericValue()
11035 public static int getNumericValue(int codePoint) { in getNumericValue() method in Character
/libcore/api/
Dcurrent.txt2451 method public static int getNumericValue(char);
2452 method public static int getNumericValue(int);