MCPcopy
hub / github.com/google/guava / whitespace

Method whitespace

guava/src/com/google/common/base/CharMatcher.java:147–149  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

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

Callers 12

trimResultsMethod · 0.95
setUpMethod · 0.95
doExtensiveTestMethod · 0.95
testSetBitsMethod · 0.95
processLineMethod · 0.45
applyMethod · 0.45

Calls

no outgoing calls

Tested by 10

setUpMethod · 0.76
doExtensiveTestMethod · 0.76
testSetBitsMethod · 0.76
processLineMethod · 0.36
applyMethod · 0.36