Determines whether a character is single-width (not double-width). When in doubt, this matcher errs on the side of returning false (that is, it tends to assume a character is double-width). Note: as the reference file evolves, we will modify this matcher to keep it up to date. @s
()
| 206 | * @since 19.0 (since 1.0 as constant {@code SINGLE_WIDTH}) |
| 207 | */ |
| 208 | public static CharMatcher singleWidth() { |
| 209 | return SingleWidth.INSTANCE; |
| 210 | } |
| 211 | |
| 212 | // Legacy constants |
| 213 |