MCPcopy Create free account
hub / github.com/BaseXdb/basex / isCombining

Method isCombining

basex-core/src/main/java/org/basex/util/FTToken.java:71–78  ·  view source on GitHub ↗

Checks if a character is a combining mark. @param type character type @return result of check

(final int type)

Source from the content-addressed store, hash-verified

69 * @return result of check
70 */
71 private static boolean isCombining(final int type) {
72 return (1 << type & (
73 1 << Character.NON_SPACING_MARK |
74 1 << Character.COMBINING_SPACING_MARK |
75 1 << Character.ENCLOSING_MARK |
76 1 << Character.MODIFIER_LETTER
77 )) != 0;
78 }
79
80 /**
81 * Returns a codepoint without diacritics.

Callers 2

lodMethod · 0.95
noDiacriticsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected