MCPcopy Create free account
hub / github.com/antlr/codebuff / singleWidth

Method singleWidth

corpus/java/training/guava/base/CharMatcher.java:208–210  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

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

Callers 1

CharMatcherClass · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected