LEFT | RIGHT |
1 // © 2017 and later: Unicode, Inc. and others. | 1 // © 2017 and later: Unicode, Inc. and others. |
2 // License & terms of use: http://www.unicode.org/copyright.html#License | 2 // License & terms of use: http://www.unicode.org/copyright.html#License |
3 package com.ibm.icu.impl.number.parse; | 3 package com.ibm.icu.impl.number.parse; |
4 | 4 |
5 import com.ibm.icu.text.UnicodeSet; | 5 import com.ibm.icu.text.UnicodeSet; |
6 import com.ibm.icu.text.UnicodeSet.EntryRange; | 6 import com.ibm.icu.text.UnicodeSet.EntryRange; |
7 | 7 |
8 /** | 8 /** |
9 * A collection of utility functions used by the number parsing package. | 9 * A collection of utility functions used by the number parsing package. |
10 */ | 10 */ |
(...skipping 23 matching lines...) Expand all Loading... |
34 } | 34 } |
35 } | 35 } |
36 | 36 |
37 public static void putLeadCodePoint(String input, UnicodeSet output) { | 37 public static void putLeadCodePoint(String input, UnicodeSet output) { |
38 if (!input.isEmpty()) { | 38 if (!input.isEmpty()) { |
39 output.add(input.codePointAt(0)); | 39 output.add(input.codePointAt(0)); |
40 } | 40 } |
41 } | 41 } |
42 | 42 |
43 } | 43 } |
LEFT | RIGHT |