MCPcopy Create free account
hub / github.com/apache/solr / isWhitespace

Method isWhitespace

solr/solrj/src/java/org/noggit/JSONParser.java:262–264  ·  view source on GitHub ↗

Returns true if the given character is considered to be whitespace. One difference between Java's Character.isWhitespace() is that this method considers a hard space (non-breaking space, or nbsp) to be whitespace.

(int ch)

Source from the content-addressed store, hash-verified

260 * or nbsp) to be whitespace.
261 */
262 protected static final boolean isWhitespace(int ch) {
263 return (Character.isWhitespace(ch) || ch == 0x00a0);
264 }
265
266 private static final long WS_MASK =
267 (1L << ' ')

Callers 9

getCharNWSMethod · 0.95
nextMethod · 0.95
realisticUnicodeMethod · 0.45
detectMethod · 0.45
escapeQueryCharsMethod · 0.45
encodeLocalParamValMethod · 0.45
splitWSMethod · 0.45
detectMethod · 0.45
angular.min.jsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected