Determines whether a character is whitespace according to the latest Unicode standard, as illustrated <a href="http://unicode.org/cldr/utility/list-unicodeset.jsp?a=%5Cp%7Bwhitespace%7D">here</a>. This is not the same definition used by other Java APIs. (See a <a href="https://docs.google.com/spread
()
| 145 | * @since 19.0 (since 1.0 as constant {@code WHITESPACE}) |
| 146 | */ |
| 147 | public static CharMatcher whitespace() { |
| 148 | return Whitespace.INSTANCE; |
| 149 | } |
| 150 | |
| 151 | /** |
| 152 | * Determines whether a character is a breaking whitespace (that is, a whitespace which can be |
no outgoing calls