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

Method split

basex-core/src/main/java/org/basex/util/Icu.java:22–28  ·  view source on GitHub ↗

Splits a string into graphemes. @param list tokens @param string string

(final TokenList list, final String string)

Source from the content-addressed store, hash-verified

20 * @param string string
21 */
22 public static void split(final TokenList list, final String string) {
23 final BreakIterator bi = BreakIterator.getCharacterInstance();
24 bi.setText(string);
25 for(int s = bi.first(), e = bi.next(); e != BreakIterator.DONE; s = e, e = bi.next()) {
26 list.add(string.substring(s, e));
27 }
28 }
29}

Callers 15

valueMethod · 0.95
standardHeadersMethod · 0.45
checkMethod · 0.45
__init__Method · 0.45
initializeMethod · 0.45
acceptsMethod · 0.45
remoteAddressMethod · 0.45
bindMethod · 0.45
saveFileFunction · 0.45
closeFileFunction · 0.45
replaceParamFunction · 0.45
joinClassesFunction · 0.45

Calls 5

firstMethod · 0.80
nextMethod · 0.65
addMethod · 0.65
setTextMethod · 0.45
substringMethod · 0.45

Tested by 9

standardHeadersMethod · 0.36
checkMethod · 0.36
valuesMethod · 0.36
gh1839Method · 0.36
gh1852Method · 0.36
textIndexMethod · 0.36
attrIndexMethod · 0.36
fulltextIndexMethod · 0.36
parseMethod · 0.36