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

Method length

basex-core/src/main/java/org/basex/query/value/item/AStr.java:72–74  ·  view source on GitHub ↗

Returns the string length. @param info input info (can be null) @return result of check @throws QueryException query exception

(final InputInfo info)

Source from the content-addressed store, hash-verified

70 * @throws QueryException query exception
71 */
72 public final int length(final InputInfo info) throws QueryException {
73 return ascii(info) ? string(info).length : offsets.length;
74 }
75
76 /**
77 * Returns the single characters of the string.

Callers 15

itemMethod · 0.95
charactersMethod · 0.95
codepointsMethod · 0.95
substringMethod · 0.95
QueryErrorMethod · 0.45
removeCommentsMethod · 0.45
parseMethod · 0.45
getMethod · 0.45
indexOfMethod · 0.45
addImportMethod · 0.45
toStringMethod · 0.45
GroupScannerMethod · 0.45

Calls 2

asciiMethod · 0.95
stringMethod · 0.45

Tested by

no test coverage detected